Eclipse maven-enabled web app references workspace projects, but those are not deployed when running Tomcat server

后端 未结 1 502
耶瑟儿~
耶瑟儿~ 2021-01-18 06:00

I have a web application (Eclipse\'s Dynamic Web App) which uses Maven (m2e-wtp) for the build and dependencies management. This web app\'s POM references a few other projec

相关标签:
1条回答
  • 2021-01-18 06:25

    I had similar problem because I created the project outside eclipse, and them imported it. What worked for me was to add the right project facet: Project context menu -> properties -> Project Facets -> Dynamic Web Module (choose right version). I was using Eclipse ADT (version 4.2.0), but, to avoid having multiple installations, I use the same eclipse for Android and other kind of apps.

    0 讨论(0)
提交回复
热议问题