Failure executing javac, but cocould not parse the error:
2. An exception occurs in the compiler (1.6.0 _ 07. If this error is not found in Bug Parade, go to Java Dev
3 elasticsearch Connection (http://java.sun.com/webapps/bugreport) archives this error. Please
4. Add your program and the following diagnostic information to the report. Thank you for your cooperation.
5 java. nio. BufferOverflowException
6 at java. nio. Buffer. nextPutIndex (Buffer. java: 495)
7 at java. nio. HeapCharBuffer. put (HeapCharBuffer. java: 145)
8 at com. sun. tools. javac. util. DefaultFileManager. decode (DefaultFileManager
9. java: 830)
10 at com. sun. tools. javac. util. DefaultFileManager. access $300 (DefaultFileMan
11 ager. java: 76)
12 at com. sun. tools. javac. util. DefaultFileManager $ RegularFileObject. getChar
13 Content (DefaultFileManager. java: 1353)
14 at com. sun. tools. javac. util. DefaultFileManager $ RegularFileObject. getChar
15 Content (DefaultFileManager. java: 1252)
16 at com. sun. tools. javac. main. JavaCompiler. readSource (JavaCompiler. java: 48
17 3)
This error is always reported when the project changes something today.
Solution:
You can run the mvn install command after running project --> clean in eclipse IDE.
Run the mvn clean and package commands using the Bulid --> Make Project and Rebulid Projdec of IntelliJ IDEA.