dubbo 源码编译失败

看见一座山 发布于 2017/12/03 18:31
阅读 428
收藏 0

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:\Users\zj\git\dubbo\dubbo-rpc\dubbo-rpc-hessian\target\classes
[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
 

 

加载中
0
看见一座山
看见一座山

在父工程的pom中的 maven-compile插件中 <fork>false</fork>可行    找了好久  

0
FantasyBabymg
FantasyBabymg

兄弟,可以从父pom 进行统一clean complie试一下

0
cIouddyy
cIouddyy
直接在命令行界面执行mvn install -Dmaven.test.skip=true
0
cIouddyy
cIouddyy
跳过执行测试方法就好了
返回顶部
顶部