【发布时间】:2014-04-10 03:08:27
【问题描述】:
我正在为 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]
【问题讨论】:
-
超时时间过短。检查为什么部署需要这么长时间。手动尝试并检查日志文件等。
标签: apache maven tomcat cargo maven-cargo