Netbeans - Error: Could not find or load main class

前端 未结 21 2185
时光说笑
时光说笑 2020-11-28 16:01

So I\'m making a java application in Neatbeans 7.4, been working at it for a while, everything was fine, running the project worked fine, but now when I hit run project, I g

21条回答
  •  一个人的身影
    2020-11-28 16:20

    Just close the Netbeans. Go to C:\Users\YOUR_PC_NAME\AppData\Local\Netbeans and delete the Cache folder. The open the Netbeans again and run the project. It works like magic for me.

    (AppData folder might be hidden probably, if so, you need to make it appear in Folder Options).

提交回复
热议问题