【问题标题】:Cargo start up error货物启动错误
【发布时间】: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


【解决方案1】:

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

【讨论】:

    【解决方案2】:

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

    如果有帮助,请告诉我。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-03-17
      • 2022-01-25
      • 1970-01-01
      • 2018-04-23
      • 2021-07-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多