Versions Compared

Key

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

...

Webapp project don't work

...

  1. make sure that you have only one webapp project open

...

  1. add the pom dependency (not only the war dependency) otherwise the dependencies defined in the referenced war file won't be seen

...

  1. use war:inplace to overlay the webapp project
    • ensure that you delete WEB-INF/lib afterwards

Trouble shooting step by step

...

  1. check if there are any build issues denoted in the problem view
  2. check if there are any problems denoted in the pom.xml (missing parents, ..)
  3. check if the project builds in the terminal (by using mvn only)
    • are the parent poms available?

...

  1. check the maven log in eclipse (select the maven console in the console view)
    • are the logs fine?
    • verify that there is no version conflict thrown by the enforcer plugin
      • if so configure the project to use the eclipse profile in the project settings (maven tab)

...

  1. clean the project
    • this ensures that maven is used to build the resources

...

    • verify that the resources have been built (module descriptor in taget/classes/META-INF/magnolia

...

  1. update project configuration
    • right click project -> maven -> update project configuration
    • check the maven console (some errors are not reported to the GUI)