java.lang.RuntimeException:无法编译的源代码 - 可能导致此问题的原因是什么? [英] java.lang.RuntimeException: Uncompilable source code - what can cause this?

查看:85
本文介绍了java.lang.RuntimeException:无法编译的源代码 - 可能导致此问题的原因是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个错误很奇怪,我的代码编译得很好,我可以看到它没有问题,但这个错误刚刚弹出。我尝试重新启动NetBeans并且没有其他异常信息。

This error is just bizarre, my code compiles fine, I can see there are no problems with it, yet this error has just popped up. I have tried re-starting NetBeans and there is no additional exception information.

导致这种情况的原因是什么?

What can cause this?

推荐答案

我猜您使用的是IDE(如Netbeans),它允许您运行代码,即使某些类不可编译也是如此。在应用程序的运行时期间,如果您访问此类,则会导致此异常。

I guess you are using an IDE (like Netbeans) which allows you to run the code even if certain classes are not compilable. During the application's runtime, if you access this class it would lead to this exception.

这篇关于java.lang.RuntimeException:无法编译的源代码 - 可能导致此问题的原因是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆