安裝thrift一直報失敗

Making all in java
make[3]: Entering directory '/opt/thrift-0.13.0/lib/java'
./gradlew assemble 
-Prelease=true 
-Pthrift.version=0.13.0 
--console=plain

Task :copyDependencies UP-TO-DATE
Task :compileJava UP-TO-DATE
Task :processResources UP-TO-DATE
Task :classes UP-TO-DATE
Task :jar UP-TO-DATE
Task :javadoc FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':javadoc'.

Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/opt/thrift-0.13.0/lib/java/build/tmp/javadoc/javadoc.options'

  • 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 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s


And my java version is
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)

 

最後發現是只需要把openjdk卸掉,自行裝一個oraclejdk即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章