- This topic has 10 replies, 2 voices, and was last updated 14 years ago by
support-swapna.
-
AuthorPosts
-
usryjwMemberHi there,
I am gettting the “Syntax error, parameterized types are only available if source level is 5.0” error when deploy a ear file to the WAS 6.1. From my understanding, WAS 6.1 JDK should be JDK 5.0.
Thanks
May 30, 2011 at 5:04 am #317133
support-swapnaModeratorusryjw,
We already have a bug filed for this issue. You can expect to see the fix in MyEclipse 9.0.1 version.
Sorry for the inconvenience caused.May 30, 2011 at 10:39 am #317146
usryjwMemberIs there any workaround instead of waiting for a newer version?
Thanks,
May 31, 2011 at 12:26 am #317157
support-swapnaModeratorusryjw,
The issue is actually with WAS’s EJB deploy tool. We are working on providing a workaround for it in our MyEclipse 9.0.1 version.
The only workaround instead of waiting is to make the project Java 1.4 compatible.
Hope this helps.
June 2, 2011 at 10:28 am #317244
usryjwMemberWhen can I expect the 9.0.1 release to be published for download? Can I have the 30 days tail still on the newer version?
Thanks
June 3, 2011 at 4:28 am #317274
support-swapnaModeratorusryjw,
MyEclipse 9.0.1 ( renamed to MyEclipse 9.1) will be available in 2 weeks.
The existing trail will continue. Additional 30 day trail for the newer version will not be available. You will have to purchase the license at the end of the trail to be able to work with MyEclipse IDE.
You can send an email to : subscriptions@genuitec.com to purchase the license.
Let us know if you have any further questions.
June 4, 2011 at 7:14 am #317297
usryjwMemberHi there,
I made all EJB projects 1.4 compatible, all compaible issues are gone. But I still see some classes cann’t be solved. I think it is due to class path issue. There are some java project which referred by the EJB project works fine, but not all. Can you let me know if a EJB project refers to an other java project, how do I setup the dependency?
My situation is similar to below
TestEar
TestEJB
TestJava1
TestJava2TestJava1& TestJava2 are referenced by TestEJB, but only classess from TestJava1 can be solved but not classess from TestJava2.
Thanks,
June 6, 2011 at 2:12 am #317310
support-swapnaModeratorusryjw,
If we just add java projects to EJB Project References we cannot access the classes(defined in java projects) in the EJB project.You need to add it to Build path > Projects to access the classes(defined in the java projects) in the EJB project.
Hope this helps.
June 6, 2011 at 8:49 am #317317
usryjwMemberThanks for your reply.
I did add the Java project to the build path of the EJB project. and I don’t see any compiling error within MEB. If I didn’t add it to build path I should see the compiling error in the EJB project, correct?
My problem is that those java project are configured in the build path of the EJB project, but during the deployment, it raised “cannot be solved as a type” error
Thanks,
June 6, 2011 at 12:27 pm #317326
usryjwMemberI figured it out by myself.
I add the Java project to the MANIFEST.MF, but it requires one extra whitespace at the end of each line to recognize. I didn’t have the extra whitespace, so the jar file I added to the MAINFEST.MF were ignored.
Is it a bug?
Thanks
June 7, 2011 at 1:42 am #317334
support-swapnaModeratorusryjw,
Here is what the jar specification has to say on manifest’s class-path
attribute –The value of this attribute specifies the relative URLs of the extensions
or libraries that this application or extension needs. URLs are separated by
one or more spaces. The application or extension class loader uses the
value of this attribute to construct its internal search path.Hope this helps.
-
AuthorPosts