项小莫 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 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题