货物启动错误

时间:2014-03-07 05:20:04

标签: apache maven tomcat cargo maven-cargo

我正在为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]

2 个答案:

答案 0 :(得分:0)

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

答案 1 :(得分:0)

正在使用的端口。如果您使用netstat -bv,请运行Windows。您将了解哪个进程正在阻止端口。使用stackTrace,它看起来非常明显。

如果有帮助,请告诉我。

相关问题