Can Eclipse import a Maven Web project as a “Dynamic Web Application”?

后端 未结 3 1172
小蘑菇
小蘑菇 2020-12-28 18:19

High Level Goal: Create a single Maven Web Application project that can be used correctly in both Netbeans and Eclipse

When converting a Maven proje

3条回答
  •  旧时难觅i
    2020-12-28 18:42

    I have had better luck with the m2eclipse plugin from Sonatype. When I started, I made the mistake of trying to use both m2eclipse and the eclipse:eclipse goal. They don't do exactly the same thing, so if you install the plugin, stop doing mvn eclipse:eclipse. Anyway, it has worked very well for me with single web projects and very well with multi-project reactor style projects as well.

    The only problem I've had is with trying to deploy a war file to a server configured in eclipse if that war file is built with an overlay, but that doesn't seem to be an issue for you.

提交回复
热议问题