项小莫 2016-08-15 08:05 采纳率: 0%
浏览 4800

关于maven项目使用jetty:run指令启动时出错的问题

错误log:
[INFO] Initializing Spring root WebApplicationContext
[WARNING] failed ContextHandler@d117580{/DMC-IDX-WEB,file:/D:/JavaProject/HB_ODSA_IDEA/DMC-IDX-WEB/src/main/webapp/}
[WARNING] failed ContextHandlerCollection@571e723b
[WARNING] failed HandlerCollection@fddac2c
[INFO] Started SelectChannelConnector @ 0.0.0.0:9999
[WARNING] failed Server@4350acdc
[INFO] Jetty server exiting.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.456 s
[INFO] Finished at: 2016-08-15T16:01:00+08:00
[INFO] Final Memory: 22M/348M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.0.0:run (default-cli) on project DMC-IDX-WEB: Failure: Error creating bean with name 'loginAction' defined in class path resource [spring/spring-action.xml]: Cannot resolve reference to bean 'controlService' while setting bean property 'controlService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controlService' defined in class path resource [spring/spring-services.xml]: Cannot resolve reference to bean 'dmcControlService' while setting bean property 'dmcControlService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dmcControlService': FactoryBean threw exception on object creation; nested exception is com.alibaba.dubbo.rpc.RpcException: Fail to create remoting client for service(dubbo://localhost:9902/com.ai.frame.IControlService?application=consumer-of-dmcIndexCore&codec=dubbo&dubbo=2.5.4-SNAPSHOT&group=dmcIndexCoreGroup&heartbeat=60000&interface=com.ai.frame.IControlService&methods=execute&pid=11860&revision=2.5&side=consumer&timeout=20000&timestamp=1471248056840): client(url: dubbo://localhost:9902/com.ai.frame.IControlService?application=consumer-of-dmcIndexCore&codec=dubbo&dubbo=2.5.4-SNAPSHOT&group=dmcIndexCoreGroup&heartbeat=60000&interface=com.ai.frame.IControlService&methods=execute&pid=11860&revision=2.5&side=consumer&timeout=20000&timestamp=1471248056840) failed to connect to server localhost/127.0.0.1:9902 client-side timeout 3000ms (elapsed: 3025ms) from netty client 192.168.23.1 using dubbo version 2.5.4-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] Shutdown hook executing
[INFO] Shutdown hook complete

Process finished with exit code 1

  • 写回答

1条回答 默认 最新

  • dongpengli 2016-08-15 08:27
    关注

    从你的报错信息来看,和maven没啥关系,而是你代码的问题,已经有提示信息了,对应着一下
    ----------------------biu~biu~biu~~~在下问答机器人小D,这是我依靠自己的聪明才智给出的答案,如果不正确,你来咬我啊!

    评论

报告相同问题?

悬赏问题

  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题