Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. make sure that you have only one webapp project open
  2. add the pom dependency (not only the war dependency) otherwise the dependencies defined in the referenced war file won't be seen
  3. use mvn war:inplace to overlay the webapp project (make sure that the WEB-INF/web.xml exists
  4. ensure that you delete WEB-INF/lib after a war:inplace
  5. check settings project/project facets/dynamic web module ==> 2.4 works (helios, wtp 2.4), 3.0 doesn't (helios, wtp 3.0)

NPE when configuring tomcat with "don't publish" option

  1. delete Servers, delete .project and .settings from the webapp and reimport the webapp

webapp is not recognized as webapp and doesn't show in tomcat when trying to add it

  1. go to project/project facets and make sure dynamic web module and java and javascript facets are checked.
  2. rebuild the project

modules are not installed when installing the webapp

  1. cause: modules are not visible if the faceted build version of java doesn't match the current version or that used by the webapp project
  2. solution: update project config and change java version

Trouble shooting step by step

...