edp963 / wormhole

Wormhole is a SPaaS (Stream Processing as a Service) Platform
https://edp963.github.io/wormhole
Apache License 2.0
978 stars 481 forks source link

0.6.2 spark2.4编译失败 #1154

Open lordk911 opened 4 years ago

lordk911 commented 4 years ago

我下载的0.6.2源码,按文档编译spark2.4. [INFO] wormhole-ums_1.3-sparkx_2.4 ........................ FAILURE [04:02 min] [INFO] wormhole-rider-server_1.3 .......................... SKIPPED [INFO] wormhole 0.6.2 ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:39 min [INFO] Finished at: 2019-12-02T23:00:23+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (job) on project wormhole-ums_1.3-sparkx_2.4: Failed to create assembly: Error creating assembly archive jar-with-dependencies: Problem creating jar: jar:file:/C:/WORK/ideaProjects/wormhole-0.6.2/sparkx/target/wormhole-ums_1.3-sparkx_2.4-0.6.2.jar!/edp/wormhole/sparkx/batchflow/BatchflowDirective$$anonfun$1$$anonfun$4.class -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :wormhole-ums_1.3-sparkx_2.4

这个不知道怎么解决,详细的异常是说找不到类

lordk911 commented 4 years ago

在IDEA里尝试了很多次重新编译都不行,最后直接用命令行,第一失败的话一般再试一次就可以了,不知道怎么回事儿

Eternally8 commented 4 years ago

我也遇到这个问题,但是现在还没解决,不知道是哪个环节出现了问题

lordk911 commented 4 years ago

官方文档是:mvn install package -Pwormhole ,去掉package 还没遇到过类似的错误