|Java EE Module Dependencies not exporting [message #498781]
||Wed, 18 November 2009 10:43
Registered: July 2009
I have some JARs that i quick and dirtly import into my dynamic web project by clicking "Add External JARs". That all works fine.|
Then I wanted these JARs to be available at tomcat runtime in WEB-INF/lib. Aftter going through the project properties I found this which I thought was exactly what I needed:
Java EE Module Dependencies
|This property page lets you add a Web Library dependency to utility projects, JAR files or classpath entries. Archive dependencies will be resolved into the WEB-INF/lib folder of the web module at deployment time. Class folder dependencies will be resolved into the WEB-INF/classes folder.|
And sure enough all my JARs were available for selection, so I selected them!
The problem now is Eclipse does not actually seem to be exporting them. I get ClassNotFounds at runtime and when I looked in the actual WEB-INF/lib and they were not there.
I've searched a lot on this issue but have found many similar issues but most of them deal with the J2EE Module Dependencies and don't seem to help me much.
I'm using WTP Version: 3.1.1.
[Updated on: Wed, 18 November 2009 10:43]
Report message to a moderator
|Re: Java EE Module Dependencies not exporting [message #531765 is a reply to message #498781]
||Thu, 06 May 2010 02:00
Registered: May 2010
We are experiencing the same problem here.|
And also - if you delete the configured tomcat, (un)deploy your app and play around with the configuration it will work again after a lot of tries.
Some times we even have to check out the project completely new.
This can even happen between two serverstarts where not anythiung has been changed.
This is very frustrating, and we cannot reproduce what helped to get it running again.
On some PCs this happens often, on others only rtom time to time.
All use the same version of eclipse, java and the plugins.
Powered by FUDForum
. Page generated in 0.01717 seconds