<plugins> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>9.1.1.v20140108</version> <configuration> <webApp> <contextPath>/</contextPath> </webApp> <scanIntervalSeconds>0</scanIntervalSeconds> <httpConnector> <port>8080</port> </httpConnector> <stopKey>foo</stopKey> <stopPort>9998</stopPort> </configuration> </plugin> </plugins>
普通javaweb项目用jetty启动,pom中添加如下配置
猜你喜欢
转载自blog.csdn.net/sdzhangshulong/article/details/79019796
今日推荐
周排行