dubbo 源码编译失败
java和maven的版本如图,大牛帮看下怎么回事 ,搞好久了 ,这dubbo源码总是编译问题错误信息
Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building dubbo-rpc-hessian 2.5.8
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dubbo-rpc-hessian ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dubbo-rpc-hessian ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:Userszjgitdubbodubbo-rpcdubbo-rpc-hessiantargetclasses
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.307 s
[INFO] Finished at: 2017-12-03T18:23:37+08:00
[INFO] Final Memory: 10M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dubbo-rpc-hessian: Compilation failure -> [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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
跳过执行测试方法就好了
直接在命令行界面执行mvn install -Dmaven.test.skip=true
兄弟,可以从父pom 进行统一clean complie试一下
在父工程的pom中的 maven-compile插件中 <fork>false</fork>可行 找了好久