使用org.eclipse.jetty:jetty-maven-plugin设置服务器端口和contextPath ?
##**使用org.eclipse.jetty:jetty-maven-plugin设置服务器端口和contextPath 目前使用的jetty-maven-plugin的版本是9.4.27.v20200227 主要有三种方式来改变:
**
1.仅在运行时更改端口:
mvn jetty:run -Djetty.http.port=9999
2.在你的pom.xml文件中设置属性:
<j...
原创
2020-03-29 15:36:26 ·
1152 阅读 ·
0 评论