IntelliJ IDEA 运行maven项目时报错
[ERROR] Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:8.1.16.v20140903:run (default-cli) on project project1: 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/confluence/display/MAVEN/MojoExecutionException
Process finished with exit code 1
原因:使用的jdk版本与配置的不同步
解决方法:同步jdk版本


当在IntelliJ IDEA中尝试运行Maven项目时,可能会遇到“Address already in use”的错误,这通常是因为使用了与配置不同步的JDK版本。本文详细解释了错误发生的原因,并提供了解决方案,即确保JDK版本与项目配置一致。
1216

被折叠的 条评论
为什么被折叠?



