maven eclipse web工程支持参数

eclipse maven工程加上参数-Dwtpversion=2.0就能够支持eclipse识别这个web工程。

 

To convert the Maven web project to support Eclipse IDE, in terminal, navigate to “CounterWebAPp” folder, issue this command :

mvn eclipse:eclipse -Dwtpversion=2.0

You must add the -Dwtpversion=2.0 argument to make it as a Eclipse web project. Imports it into Eclipse IDE, a globe icon on top of project, means this is a web project in Eclipse.

 

project structure

猜你喜欢

转载自zhwj184.iteye.com/blog/1845165