Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » External Jars Bug + Workaround
External Jars Bug + Workaround [message #162685] Thu, 02 March 2006 13:28
Eclipse UserFriend
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.
Previous Topic:how to add web module to a project
Next Topic:Java2WSDL Problem
Goto Forum:
  


Current Time: Sun Mar 16 22:58:20 EDT 2025

Powered by FUDForum. Page generated in 0.04313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top