Java. nio. BufferOverflowException exception

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.