我正在尝试在这种环境中编译我的代码:
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T19:29:23+02:00)
Maven home: /usr/local/sbin/apache-maven-3.2.5
Java version: 1.8.0_31, vendor: Oracle Corporation
Java home: /usr/local/sbin/jdk1.8.0_31/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-23-generic", arch: "amd64", family: "unix"
Run Code Online (Sandbox Code Playgroud)
在NullPointerException
从抛出com.sun.tools.javac.code.Types.isConvertible()
我已经看到这个异常被报告为一个bug,但我找不到应该做些什么来避免它(也许使用其他版本的java或maven?)
有人有线索吗?
这是堆栈跟踪:
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ tnet ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1358 source files to /tradair/sources/java/target/classes
An exception has occurred in the compiler (1.8.0_31). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after …
Run Code Online (Sandbox Code Playgroud)