Can't find main class in NetBeans 6.9

前端 未结 3 1203
离开以前
离开以前 2020-12-11 18:37

Whenever I load NetBeans 6.9 (similar errors happened on previous versions also) then I let NetBeans finish scanning my projects and once it\'s done I try to run a profile w

相关标签:
3条回答
  • 2020-12-11 19:12

    For windows 8

    Delete this directory C:\Users\Shubham\AppData\Local\NetBeans\Cache

    Before doing so close netbeans.

    Start Netbeans again and let it read the project.

    Test project. Run project. It should work fine.

    0 讨论(0)
  • 2020-12-11 19:14

    I didn't read the complete question, but try: Right click project > properties > run > browse for main class

    Else try making a new project and then copy the scr folder from the old one to the new project.

    0 讨论(0)
  • 2020-12-11 19:19

    I fixed a very similar behaviour by deleting NetBeans's cache. Delete the folder User\.netbeans\6.9\var\cache\index\.

    Windows 7 and Netbeans 7.2: User\AppData\Local\NetBeans\Cache\7.2\index

    0 讨论(0)
提交回复
热议问题