- This topic has 13 replies, 3 voices, and was last updated 15 years, 8 months ago by Loyal Water.
-
AuthorPosts
-
etccmyeclipseMemberI downloaded the 7.1 today. then I installed it in my Mac eclipse. Damn, it took me almost a day to figure out this is a bug of 7.1, and I rolled back to 7.0, it worked again. here is the detail:
a simple J2EE 5 project. including a EAR project, a EJB project, a WEB project.
EJB project contains a simple session bean, with a method such as:
public List<DataBean> getData(); the DataBean is a simple POJO.
then I call this from WEB, inside a simple JSP with a simple JNDI lookup of the session bean then print out the databean content.guess what I got? the session bean got returned, but when I tried to print the content, A ClassCast exception complains can’t cast test.DataBean to test.DataBean . crazy enough?
etccmyeclipseMemberforgot to mention, I ran it through Jboss 5.0. everything was just fine before I upgraded it to 7.1 after rolling back , it is also fine too.
etccmyeclipseMemberOk, to follow up with this. I found out the problem. I
In “Java Enterprise Project” –> Web Project –> Deployment
If I choose “smart deployment”, in 7.0 the dependent EJB project of WEB project will not be merged into Web-INF/classes folder, however, in 7.1, the dependent EJB project will be merged into WEB-INF/classes folder, then during runtime, you get the same classes in two places, it just craps out to complain the crazy classcast exception. In 7.1 if I choose “ignore” option, it will not merge the EJB project to WEB-INF/classes folder, however, my other dependent projects which I want to merge don’t merge either,
I think it is a regression bug introduced by myeclipse team.BTW, I don’t know why the myeclipse team has not responded my post yet. We just bought this profession licenses, shouldn’t it come with a reasonable level of support response as it is stated in the license?
Loyal WaterMemberetccmyeclipse,
Could you send us a sample project that will help us reproduce this issue at our end. You can hit the pm button at the bottom of my post and send me the project. I’ll get this issue checked right away. Sorry for the inconvenience caused.
Christophe TAVERNEMemberHi,
We get the same problem.
We must back to the 7.0 version.regards,
Loyal WaterMemberBaleyba,
I’m sorry you ran into this issue as well. The dev team is already working on fixing it.
Christophe TAVERNEMemberHi,
Thank you for your answer.
When do you think the fix will be available approximately ?regards,
Christophe TAVERNEMemberI tested the last 7.1.1 => It perfectly works!
Thanks !regards,
etccmyeclipseMemberhow do I get the 7.1.1 ? I don’t see it in the download place.
Loyal WaterMemberGo yo MyEclipse > Manage MyEclipse plugins and you should see the 7.1.1 update showing up there. Hit the install button and then select finish. That should update ME to 7.1.1.
I tested the last 7.1.1 => It perfectly works!
Thanks !Your welcome.
etccmyeclipseMemberI got this message when i click it: the myeclipse dashboard is only available for a full version of myeclipse. But we did purchase the professional licenses and I installed the full archive package
etccmyeclipseMemberok, I was able to go to software update and pick myeclipse workbench to update it.
etccmyeclipseMemberthanks a lot, MyEclipse team. Good work to fix it in time.
Loyal WaterMemberthanks a lot, MyEclipse team. Good work to fix it in time.
Your welcome.
-
AuthorPosts