External Jars Bug + Workaround [message #162685] |
Thu, 02 March 2006 13:28 |
Eclipse User |
|
|
|
Originally posted by: jrduncans.stephenduncanjr.com
I found a gotcha with using the Eclipse Webtools Project to deploy my
webapp. I'm using Maven, but this will apply to anyone using external
jars in this scenario. Note that src/main/webapp would be equivalent to
WebContent.
The details are in this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130141
I'll summarize here though.
If you have the option selected to work directly against the server
instead of from your workspace (i.e. your app is deployed to
tomcat/webapps), and you do not have a "lib" directory in
src/main/webapp/WEB-INF, then the jars will be deployed to the root of
your webapp directory, instead of to WEB-INF/lib. The workaround is
create a lib directory in src/main/webapp/WEB-INF.
Please vote for the bug to help make Eclipse+Maven easier to use.
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04313 seconds