https://d1opms6zj7jotq.cloudfront.net/idea/ideaIU-2016.1.exe web
在pom.xml文件中添加
eclipse
<plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>9.2.10.v20150310</version> <configuration> <httpConnector> <port>8080</port> </httpConnector> <webApp> <contextPath>/test/</contextPath> </webApp> <stopKey /> <stopPort /> </configuration> </plugin>
訪問:http://localhost:8080/test/maven