首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

java.nio.BufferOverflowException 错误

2012-12-23 
java.nio.BufferOverflowException 异常Failure executing javac, but could not parse the error: 2 编译

java.nio.BufferOverflowException 异常
Failure executing javac, but could not parse the error:
2 编译器 (1.6.0_07) 中出现异常。 如果在 Bug Parade 中没有找到该错误,请在 Java Dev
3 eloper Connection (http://java.sun.com/webapps/bugreport)  对该错误进行归档。 请
4 在报告中附上您的程序和以下诊断信息。谢谢您的合作。
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)


今天项目改了些东西 然后总是报这个错误
解决方案:
通过 eclipse IDE 工具的 project -->clean 运行后,可以执行mvn install命令

通过 InteliJ IDEA 工具的 Bulid-->Make Project ,Rebulid Projdec 运行后,可以执行mvn install命令

热点排行