- This topic has 3 replies, 2 voices, and was last updated 15 years, 6 months ago by support-joy.
-
AuthorPosts
-
mcintosh_iMemberI have a web project in MyEclipse 7.1.1, but in its properties there is no “J2EE Module Dependencies” section. I think this is what’s preventing the ability to have the dependent libraries copied into WEB-INF/lib, and therefore when I hit the deployed app lots of class not found exceptions happen.
Why is this section not there? I can create a new web project to test it out and it’s not there, so there’s nothing special about this one. Is there a trick to creating this section? How else can you get the dependent jars copied into WEB-INF/lib, other than finding them buried deep in the file system in the very obfuscated directory names that MyEclipse puts them in?
cheers,
Ian
support-joyMemberIan,
I understand that the issue you are referring above is related to adding dependent libraries to WEB-INF/lib.
This can be done by checking the relevant option under window > preferences > My Eclipse Enterprise Workbench > Java Enterprise Project > web project > Deployment Tab > Library Deployment Policies.
mcintosh_iMemberAll 4 of those options under “Library Deployment Policies” are ticked already, but this doesn’t make any difference. The only thing I can do to make it work is what I mentioned above – going into the file system to find the jars themselves and copying them manually into the web-inf/lib directory. I can verify that this indeed does work.
There’s something really screwy going on with MyEclipse at the moment. I realise that this is a pretty unhelpful comment on the whole, but when you take into account:
– how easy it is to generate an error (run any Software Update with a new base install of ME),
– how some settings simply are not saved when you click Apply (try using a Manual Proxy configuration, click apply, then randomly, multiple times it’s been reset after a restart or after resuming work later – I’m not the only one with this problem either), and
– the above problem with dependent jars not being copied into web-inf/lib…
…it’s not a very enjoyable experience right now.
support-joyMemberIan,
I haven’t heard this being reported by other users. Nor am I able to reproduce it at my end. Can you copy and paste your installation details here? You can get it from MyEclipse > Installation Summary > Installation Detail.
– how easy it is to generate an error (run any Software Update with a new base install of ME),
Agreed, that due to compatibility issues with base eclipse you can see issues. Have you upgraded to Pulse 2.4.2? You can do that through MyEclipse Dashboard. To open MyEclipse Dashboard, you need to go to MyEclipse > Manage MyEclipse Plugins. Pulse 2.4.2 has fixed a lot of issues, for more details refer here – http://www.poweredbypulse.com/forums/showthread.php?p=3431
– how some settings simply are not saved when you click Apply (try using a Manual Proxy configuration, click apply, then randomly, multiple times it’s been reset after a restart or after resuming work later – I’m not the only one with this problem either)
This issue is resolved in ME7.5, which is due in May end.
– the above problem with dependent jars not being copied into web-inf/lib
So far you are the only one who has reported this issue. Can you click on [Restore Defaults] under under window > preferences > My Eclipse Enterprise Workbench > Java Enterprise Project > web project > Deployment Tab > Library Deployment Policies and see if this helps?
-
AuthorPosts