Maven dependencies not visible in WEB-INF/lib

后端 未结 9 1394
南方客
南方客 2020-11-28 19:35

I\'m having this weird problem making my project Maven-based. I created a new Maven project in Eclipse and enabled the Dynamic Web facets. But during runtim

9条回答
  •  感动是毒
    2020-11-28 20:21

    First install Maven Integration For Eclipse WTP (Help->Eclipse Marketplace)

    Then in your web project's pom.xml just add:

        war
    

    After that just right click the project, Maven -> Update Project, which should automagically add Maven Dependencies for you in the Deployment Assembly.

提交回复
热议问题