Eclipse can't find / load main class

前端 未结 20 2216
猫巷女王i
猫巷女王i 2020-12-05 04:40

My Eclipse (Indigo) was running just fine. I created a simple class Hello. It is placed in package cont in the folder ch13. However

20条回答
  •  难免孤独
    2020-12-05 05:17

    I had the same problem, this is my solution:

    1. I manually deleted the bin folder of the project
    2. Then I refreshed the project which recompiled the whole project and created a new bin with all .class files

    I did it because when I performed Clean(project->clean) my .class files were not getting deleted. the above solution works for me hope its useful to others.

提交回复
热议问题