Compiler internal error. Process terminated with exit code 4
2012-11-28 14:02
453 查看
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
[size=large][color=red]解决办法:[/color][/size]
从google里面找了几个方法尝试都不行,最后发现,是项目的编码是utf-8问题,在IDEA的Settings ——> File Encoding 中,将编码都设置成utf-8,问题解决。
阅读更多
编译器 (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
[size=large][color=red]解决办法:[/color][/size]
从google里面找了几个方法尝试都不行,最后发现,是项目的编码是utf-8问题,在IDEA的Settings ——> File Encoding 中,将编码都设置成utf-8,问题解决。
阅读更多
相关文章推荐
- The compiler failed with error code 128的问题
- 解决XCode编译错误clang: error: linker command failed with exit code 1
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 【angular】gyp ERR! build error msbuild.exe` failed with exit code: 1
- 【angular】gyp ERR! build error msbuild.exe` failed with exit code: 1
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- omnet找不到libinet.dll+Simulation terminated with exit code : -1073741515
- Showing Recent Issues clang: error: linker command failed with exit code 1 (use -v to see invocatio
- ORA-00470: LGWR process terminated with error
- Python笔记——pyCharm错误: Process finished with exit code -1073740791 (0xC0000409)
- 错误: error linker command failed with exit code 1 (use –v to see invocation)
- 创建Maven项目报错:Maven [ERROR] Maven execution terminated abnormally (exit code 1)解决办法
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- clang: error: linker command failed with exit code 1 (use -v to see invocation) 解决办法
- 运行React项目失败报错: react-scripts: command not found error Command failed with exit code 127.
- Python 运行出现Process finished with exit code -1073741515 (0xC0000135)错误
- error: linker command failed with exit code 1 (use -v to see invocation)
- Showing Recent Errors Only clang: error: linker command failed with exit code 1 (use -v to see invo
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- clang: error: linker command failed with exit code 1 (use -v to see invocation)