我Java 8 Azul ZuluFX
在 Lubuntu 18.0.4 上使用。我在一个项目上运行:
mvn clean package
但我收到此错误(简化):
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] [parsing started RegularFileObject[/home/marco/sources/tgtools.activiti.explorer/src/main/java/tgtools/activiti/explorer/config/Constants.java]]
[ERROR] [parsing completed 13ms]
[many others...]
[ERROR] [search path for class files: /home/marco/.sdkman/candidates/java/8.0.212-zulu/jre/lib/rt.jar;[many others...]
[ERROR] Fatal Error: Unable to find package java.lang in classpath or bootclasspath
我检查并/home/marco/.sdkman/candidates/java/8.0.212-zulu/jre/lib/rt.jar
存在,它显然包含java/lang
文件夹及其内部的类。
我有Maven
3.6.0