我正在尝试检查apache beam中的链接问题,当我运行./gradlew-ppublishing-pjavalinkageartifactids=beam-vendor-grpc-1_26_0:checkjavalinkage时,经过99%的处理,我得到以下错误。我不明白这个错误的发生。
任务:checkjavalinkage slf4j:未能加载类“org.slf4j.impl.staticloggerbinder”。slf4j:默认为无操作(nop)记录器实现slf4j:请参阅http://www.slf4j.org/codes.html#staticloggerbinder 更多细节。线程“main”java.lang.indexoutofboundsexception中出现异常:在com.google.common.base.preconditions.checkpositionindexes(preconditions)处,结束索引(1)不能大于大小(0)。java:1420)在com.google.common.collect.immutablelist.sublist(immutablelist。java:433)在com.google.cloud.tools.opensource.classpath.linkagecheckermain.main(linkagecheckermain。java:84)
> Task :checkJavaLinkage FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkJavaLinkage'.
> Process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 38s
1197 actionable tasks: 197 executed, 1000 up-to-date
有人能帮我知道这个问题的发生吗?
暂无答案!
目前还没有任何答案,快来回答吧!