【问题标题】:class file for com.google.protobuf.GeneratedMessageV3 not found未找到 com.google.protobuf.GeneratedMessageV3 的类文件
【发布时间】:2019-09-18 21:03:40
【问题描述】:

尝试在 Apache Mesos 上调用“make”,在修复了一些其他 javadocs 相关问题之后,这就是我目前得到的。 有人遇到同样的问题吗? 这是跟踪:

/Library/Java/JavaVirtualMachines/openjdk-12.0.2.jdk/Contents/Home/bin/javac -h java/jni                \
      -classpath java/target/mesos-1.10.0.jar:/Users/hanshenriksande/Master/mesos/build/src/java/target/protobuf-java-3.5.0.jar                        \
       ../../src/java/src/org/apache/mesos/MesosExecutorDriver.java
Note: ../../src/java/src/org/apache/mesos/MesosExecutorDriver.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
An exception has occurred in the compiler (12.0.2). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.google.protobuf.GeneratedMessageV3 not found
make[1]: *** [java/jni/org_apache_mesos_MesosExecutorDriver.h] Error 4
make: *** [all-recursive] Error 1

【问题讨论】:

    标签: java mesos


    【解决方案1】:

    Mesos 需要 java 绑定吗?如果没有,则运行--disable-java--disable-python 参见auto tools options。 如果你需要这个绑定,那么你需要将你的 JVM 降级到 7 或 8。按照这些instructions

    【讨论】:

      猜你喜欢
      • 2020-04-20
      • 2018-11-10
      • 2016-10-30
      • 2018-06-10
      • 1970-01-01
      • 2016-03-23
      • 2018-07-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多