Is there a permanent fix for Eclipse Deployment Assembly losing the Maven Dependencies?

前端 未结 3 1146
失恋的感觉
失恋的感觉 2021-02-08 12:15

I had a problem similar to this (java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener), the difference in my case is that the common fix (addi

3条回答
  •  眼角桃花
    2021-02-08 12:55

    your Pom.xml seems to be just fine. However, If you right-click on your project, there should be an option under "maven" to "enable dependency management". That's it. PS: avoid using the maven-eclipse-plugin for the same if you are using m2eclipse. There is absolutely no need for it, it will be confusing, it will generate some mess. Don't use it unless you really know what you are doing.

    Hope this helps.

提交回复
热议问题