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

后端 未结 15 2164
梦谈多话
梦谈多话 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:03

    I had the same issue with one of my netbeans project.

    Check whether you have correctly put the package name on all the classes. I got the same error message because i forgot to put the package name of a certain class (which was copied from another project).

提交回复
热议问题