Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » What's wrong with eclipse and tomcat? Driven me crazy!(There always are some very strange problem occurred when run web-app. )
icon5.gif  What's wrong with eclipse and tomcat? Driven me crazy! [message #1697402] Wed, 03 June 2015 12:34 Go to next message
Eclipse UserFriend
These days, I was totally confused by Eclipse when debugging my web-app using tomcat. Here is the situation:
There are several multi-module MAVEN projects in my eclipse's workspace. To look it more friendly, I separated them into different working sets.
Simply put and for example, there are 3 working sets: A-set, B-set, C-set. A-set contains one parent project (labeled as Ap) which has four children projects(Ac1,Ac2,Ac3,Ac4). B-set contains Bp, Bc1, Bc2... and Bc2 is a web app which references the Ac2 in A-set (via maven dependency).
Now, I right click Bc2 and debug as a web-app using tomcat 7. Some interesting things happened, the Ac2 was packaged into WEB-INF/lib (named as Ac2.jar ), but only classes! Other resources of Ac2 like config files (xml) are not packaged in the jar.
I tried all the ways as I can (Clean or delete), but nothing changed. The Ac2.jar in the maven repository is complete (all files packaged in), but the Ac2.jar under the website's WEB-INF/lib always miss some files.
Any one can save me ?
My friends have already recommended me to use IntelliJ IDEA for many times! I am almost giving up. Crying or Very Sad

[Updated on: Thu, 04 June 2015 09:09] by Moderator

Re: What's wrong with eclipse and tomcat? Driven me crazy! [message #1697503 is a reply to message #1697402] Thu, 04 June 2015 09:11 Go to previous message
Eclipse UserFriend
You may want to post this to the m2e mailing list: https://eclipse.org/m2e/m2e-community.html
Previous Topic:Juno: can't add GlassFish resource to a project
Next Topic:The selected resource does not exist in the head revision
Goto Forum:
  


Current Time: Thu Apr 24 23:47:40 EDT 2025

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

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

Back to the top