2014-03-07 48 views
0

我正在为web应用程序运行'mvn clean install -Dmaven.test.skip = true'命令。但它会产生以下错误。我把卡塔利娜家当成一个环境变量。我正在使用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] 
+0

更多在这里舀? – Coffee

+0

超时时间太短。检查部署需要这么长时间的原因。手动尝试并检查日志文件等 – khmarbaise

回答

0

也许你必须杀死在8080上运行任何程序,貌似端口已在使用.. 错误:传输错误202:绑定失败:地址已在使用

0

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

让我知道它是否有帮助。