异常表现:
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 checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.IllegalStateException: endPosTable already set...
解释:maven-compiler-plugin插件的问题
临时解决:
<artifactId>maven-compiler-plugin</artifactId><configuration>
<useIncrementalCompilation>false</useIncrementalCompilation>
...
最终解决:
升级到maven-compiler-plugin插件3.5.1+