eclipse中使用jetty启动项目

eclipse里修改 Goals值

Tomcat

-Dmaven.tomcat.port=8080 tomcat:run

Jetty

-Djetty.port=8081 jetty:run

eclipse里修改 Goals值

Tomcat

-Dmaven.tomcat.port=8080 tomcat:run

Jetty

-Djetty.port=8081 jetty:run