Eclipse IDE 在 main 中捕获错误,但是 main 本身没有问题?
Eclipse IDE is catching an error in main however main itself has no issues?
[https://i.stack.imgur.com/iKE4t.png]]
I have no code in my main method, or any separate classes. I'm still getting errors.
public static void main(String[] args) {
}
However the debugger say main() is throwing Error(id=23)
===========================================================
Unresolved compilation problem: Unhandled exception type FileNotFoundException
请务必检查控制台选项卡旁边的问题选项卡。我有一个构建路径错误。我选择了一个无效的库。所以调试器只是抛出一些随机错误。
[https://i.stack.imgur.com/iKE4t.png]]
I have no code in my main method, or any separate classes. I'm still getting errors.
public static void main(String[] args) {
}
However the debugger say main() is throwing Error(id=23)
===========================================================
Unresolved compilation problem: Unhandled exception type FileNotFoundException
请务必检查控制台选项卡旁边的问题选项卡。我有一个构建路径错误。我选择了一个无效的库。所以调试器只是抛出一些随机错误。