0

我正在为 Web 应用程序运行“mvn clean install -Dmaven.test.skip=true”命令。但它给出了以下错误。我将 catalina home 设置为环境变量。我正在使用 Maven 3.1.1 版本。请帮我

 FATAL ERROR in native method: JDWP No transports i
nitialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[WARNING] [talledLocalContainer] ERROR: transport error 202: bind failed: Addres
s already in use
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.2.4:star
t (start-container) on project RCMigrationWebApp: Execution start-container of g
oal org.codehaus.cargo:cargo-maven2-plugin:1.2.4:start failed: Failed to start t
he Tomcat 7.x container. Deployable [http://localhost:8080/cargocpc/index.html]
failed to finish deploying within the timeout period [120000]. The Deployable st
ate is thus unknown. -> [Help 1]
4

2 回答 2

0

Port in use. Run netstat -bv if you are using Windows. You will get to know which process is holding up the port. With your stackTrace, it looks very obvious.

Let me know if it helps.

于 2014-03-07T08:40:13.740 回答
0

可能您必须终止在 8080 上运行的任何进程,看起来该端口已在使用中.. 错误:传输错误 202:绑定失败:地址已在使用中

于 2014-03-07T06:44:47.610 回答