Netbeans - Error: Could not find or load main class

前端 未结 21 2145
时光说笑
时光说笑 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:07

    1. close netbeans.
    2. open netbeans again.
    3. choose new project>>java application.
    4. click next.
    5. deselect create main class.
    6. now make the application clean build run

    For more reference watch this video

提交回复
热议问题