Eclipse WTP not publishing Maven dependencies

后端 未结 4 696
失恋的感觉
失恋的感觉 2021-01-31 19:02

I\'m trying to set up a basic hello world project using Eclipse Indigo and a Tomcat server. I created a dynamic project with a simple servlet. Tested the servlet and that worke

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 19:49

    I faced a similar problem and although I had configured Deployment Assembly correctly it still didn't work. Then I found that under Window -> Preferences -> My Eclipse -> Java Enterprise Project -> Web Project, under the Deployment tab, the management of Dependent projects was turned off. I changed it to deploy jars of dependent projects to the lib folder and then everything worked like a charm. I could even turn off the Deployment Assembly option.

提交回复
热议问题