开发者社区 > 云原生 > 正文

dubbo-2.5.6编译失败,错误: 无法访问Drawable

本地环境JDK1.8 maven3.5

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/liyang/Downloads/dubbo-dubbo-2.5.6/dubbo-simple/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/SimpleMonitorService.java:[137,18] 错误: 无法访问Drawable [ERROR] 找不到org.jfree.ui.Drawable的类文件 /Users/liyang/Downloads/dubbo-dubbo-2.5.6/dubbo-simple/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/SimpleMonitorService.java:[139,14] 错误: 无法访问PublicCloneable [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] dubbo-parent ....................................... SUCCESS [ 0.407 s] [INFO] Hessian Lite(Alibaba embed version) ................ SUCCESS [ 2.509 s] [INFO] dubbo-common ....................................... SUCCESS [ 2.569 s] [INFO] dubbo-container .................................... SUCCESS [ 0.006 s] [INFO] dubbo-container-api ................................ SUCCESS [ 0.963 s] [INFO] dubbo-container-spring ............................. SUCCESS [ 0.593 s] [INFO] dubbo-container-jetty .............................. SUCCESS [ 0.578 s] [INFO] dubbo-container-log4j .............................. SUCCESS [ 0.584 s] [INFO] dubbo-container-logback ............................ SUCCESS [ 0.625 s] [INFO] dubbo-remoting ..................................... SUCCESS [ 0.005 s] [INFO] dubbo-remoting-api ................................. SUCCESS [ 1.569 s] [INFO] dubbo-remoting-netty ............................... SUCCESS [ 0.874 s] [INFO] dubbo-remoting-mina ................................ SUCCESS [ 0.817 s] [INFO] dubbo-remoting-grizzly ............................. SUCCESS [ 0.764 s] [INFO] dubbo-remoting-p2p ................................. SUCCESS [ 0.881 s] [INFO] dubbo-remoting-http ................................ SUCCESS [ 0.645 s] [INFO] dubbo-remoting-zookeeper ........................... SUCCESS [ 0.716 s] [INFO] dubbo-remoting-netty4 .............................. SUCCESS [ 0.968 s] [INFO] dubbo-rpc .......................................... SUCCESS [ 0.004 s] [INFO] dubbo-rpc-api ...................................... SUCCESS [ 1.347 s] [INFO] dubbo-rpc-default .................................. SUCCESS [ 1.201 s] [INFO] dubbo-rpc-injvm .................................... SUCCESS [ 0.617 s] [INFO] dubbo-rpc-rmi ...................................... SUCCESS [ 0.568 s] [INFO] dubbo-rpc-hessian .................................. SUCCESS [ 0.726 s] [INFO] dubbo-rpc-http ..................................... SUCCESS [ 0.635 s] [INFO] dubbo-rpc-webservice ............................... SUCCESS [ 0.711 s] [INFO] dubbo-cluster ...................................... SUCCESS [ 1.266 s] [INFO] dubbo-registry ..................................... SUCCESS [ 0.007 s] [INFO] dubbo-registry-api ................................. SUCCESS [ 1.059 s] [INFO] dubbo-monitor ...................................... SUCCESS [ 0.007 s] [INFO] dubbo-monitor-api .................................. SUCCESS [ 0.625 s] [INFO] dubbo-filter ....................................... SUCCESS [ 0.005 s] [INFO] dubbo-filter-validation ............................ SUCCESS [ 0.725 s] [INFO] dubbo-filter-cache ................................. SUCCESS [ 0.677 s] [INFO] dubbo-registry-default ............................. SUCCESS [ 0.650 s] [INFO] dubbo-monitor-default .............................. SUCCESS [ 0.686 s] [INFO] dubbo-registry-multicast ........................... SUCCESS [ 0.742 s] [INFO] dubbo-config ....................................... SUCCESS [ 0.004 s] [INFO] dubbo-config-api ................................... SUCCESS [ 1.197 s] [INFO] dubbo-config-spring ................................ SUCCESS [ 0.956 s] [INFO] dubbo-rpc-thrift ................................... SUCCESS [ 1.026 s] [INFO] dubbo-rpc-memcached ................................ SUCCESS [ 0.642 s] [INFO] dubbo-rpc-redis .................................... SUCCESS [ 0.667 s] [INFO] dubbo-registry-zookeeper ........................... SUCCESS [ 0.689 s] [INFO] dubbo-registry-redis ............................... SUCCESS [ 0.796 s] [INFO] dubbo .............................................. SUCCESS [ 1.780 s] [INFO] dubbo-simple ....................................... SUCCESS [ 0.004 s] [INFO] dubbo-registry-simple .............................. SUCCESS [ 2.464 s] [INFO] dubbo-monitor-simple ............................... FAILURE [ 1.077 s] [INFO] dubbo-admin ........................................ SKIPPED [INFO] dubbo-demo ......................................... SKIPPED [INFO] dubbo-demo-api ..................................... SKIPPED [INFO] dubbo-demo-provider ................................ SKIPPED [INFO] dubbo-demo-consumer ................................ SKIPPED [INFO] dubbo-test ......................................... SKIPPED [INFO] dubbo-test-benchmark ............................... SKIPPED [INFO] dubbo-test-compatibility ........................... SKIPPED [INFO] dubbo-test-integration ............................. SKIPPED [INFO] dubbo-test-examples ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40.171 s [INFO] Finished at: 2017-10-12T20:19:32+08:00 [INFO] Final Memory: 36M/484M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dubbo-monitor-simple: Compilation failure: Compilation failure: [ERROR] /Users/liyang/Downloads/dubbo-dubbo-2.5.6/dubbo-simple/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/SimpleMonitorService.java:[137,18] 错误: 无法访问Drawable [ERROR] 找不到org.jfree.ui.Drawable的类文件 [ERROR] /Users/liyang/Downloads/dubbo-dubbo-2.5.6/dubbo-simple/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/SimpleMonitorService.java:[139,14] 错误: 无法访问PublicCloneable [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :dubbo-monitor-simple

希望开发同学能够修改下,至少编译这一步一定要简单点,目前为止dubbo是我用过最难编译的开源应用了。

原提问者GitHub用户ghost

展开
收起
大圣东游 2023-05-11 20:32:36 232 0
1 条回答
写回答
取消 提交回答
  • 应该是你的本地工程的依赖解析有问题,不能正确解析到依赖包

    原回答者GitHub用户chickenlj

    2023-05-12 13:01:48
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
Dubbo开源现状与2.7规划 立即下载
Dubbo分布式服务治理实战 立即下载
《Dubbo 3.0 前瞻》 立即下载