Compiler internal error. Process terminated with exit code 4

IDEA编译异常:
编译器 (1.5.0_09) 中出现异常。 如果在 Bug Parade 中没有找到该错误,请在 Java Developer Connection (http://java.sun.com/webapps/bugreport)  对该错误进行归档。 请在报告中附上您的程序和以下诊断信息。谢谢您的合作。
java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:419)
...
Compiler internal error. Process terminated with exit code 4

解决办法:
从google里面找了几个方法尝试都不行,最后发现,是项目的编码是utf-8问题,在IDEA的Settings ——> File Encoding 中,将编码都设置成utf-8,问题解决。


猜你喜欢

转载自ithead.iteye.com/blog/1736183