Maven项目在Maven启动的时候出现:Address already in use: JVM_Bind<null>:8080
2017-08-23 15:20
260 查看
Maven项目在Maven Build启动的时候出现:Address already in use: JVM_Bind<null>:8080
ERROR如下:
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat6-maven-plugin:2.2:run (default-cli) on project taotao-manager-web: Could not start Tomcat: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
-> [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/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :taotao-manager-web
截图如下:
看了网上很多教程:比如说Kill掉端口号之类的,但是不能根本解决问题。
于是我开始思考,既然端口号被占用,那是不是没有关闭tomcat,导致的冲突。
后来发现,还真的是啊!
正确做法:
点击上面图中,第一行Debug旁边的红色停止键,再次重新启动,问题就解决了。
如果红色停止键无法点击,则可能是需要先点击红色停止键旁边的X,再点红色停止键
ERROR如下:
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat6-maven-plugin:2.2:run (default-cli) on project taotao-manager-web: Could not start Tomcat: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
-> [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/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :taotao-manager-web
截图如下:
看了网上很多教程:比如说Kill掉端口号之类的,但是不能根本解决问题。
于是我开始思考,既然端口号被占用,那是不是没有关闭tomcat,导致的冲突。
后来发现,还真的是啊!
正确做法:
点击上面图中,第一行Debug旁边的红色停止键,再次重新启动,问题就解决了。
如果红色停止键无法点击,则可能是需要先点击红色停止键旁边的X,再点红色停止键
相关文章推荐
- 在MyEclipse启动或者是tomcat启动的时候出现:Address already in use: JVM_Bind<null>:8080
- 启动maven项目时Address already in use: JVM_Bind<null>:8080错误的解决办法
- 启动项目时,报错;Address already in use: JVM_Bind<null>:8080
- 刚安装的tomcat在 myeclipse中第一次启动时报错:Address already in use: JVM_Bind<null>:8080
- 启动Tomcat服务器,报Address already in use: JVM_Bind<null>:8080的错误
- 启动Tomcat时,报错;Address already in use: JVM_Bind<null>:8080
- 项目启动失败,报错:java.net.BindException:Address already in use : JVM_Bind <null>:8081
- Address already in use: JVM_Bind<null>:8080,Tomcat启动报错
- 出现Address already in use: JVM_Bind<null>:8080的解决办法
- Address already in use: JVM_Bind<null>:8080tomcat启动不了的问题
- Address already in use: JVM_Bind<null>:8080
- Address already in use: JVM_Bind <null>:8080
- Address already in use: JVM_Bind<null>:8080错误的解决办法
- tomcat启动报Address already in use: JVM_Bind <null>:8080
- tomcat启动报错:java.net.BindException: Address already in use: JVM_Bind<null>:8080
- Windows 查看端口号被占用情况 & Address already in use: JVM_Bind<null>:8080
- Address already in use: JVM_Bind<null>:8080解决办法(端口占用查看,关闭服务)
- Address already in use: JVM_Bind <null>:8080问题解决
- Tomcat端口被占用Address already in use: JVM_Bind <null>:8080
- java.net.BindException: Address already in use: JVM_Bind <null>:8080错误