java.lang.RuntimeException: Uncompilable source code - what can cause this?

后端 未结 15 2174
梦谈多话
梦谈多话 2020-11-22 16:30

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

15条回答
  •  执笔经年
    2020-11-22 17:08

    Just check the packaging, the simplest answer I can provide is that your package has been mislabeled (within a class).

    Also, you may have some weird characters. Try white-flushing the code in a Notepad (or Gedit) and then pasting it into a newly created class with your IDE.

提交回复
热议问题