具体报错如下:
[ERROR] Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:8.1.16.v20140903:run (default-cli) on project tccglxt4j: Failure: Address already in use: bind -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confl...
提示地址被占用, 是否要想Tomcat那样 改端口,还是重启jetty, 怎么重启啊新手第一次使用jetty,望指出明路。
两种方式
mvn jetty:run -Djetty.http.port=9999