Missing .classpath file in Eclipse project

后端 未结 10 958
傲寒
傲寒 2021-02-04 06:11

I have recently returned to a project after not using it for a couple of weeks. The project was not created in Eclipse it was imported, and there is no \'.classpath\' file in t

10条回答
  •  孤独总比滥情好
    2021-02-04 06:48

    I had a similar problem after changing my project to Gradle. When I right-clicked on javaw.exe->Properties in the 'debug' view, I saw the classpath was (mostly) missing, for instance the 'bin' directory containing the classes wasn't there.

    Solution for me was just to delete the 'run debug configuration' and create a new one. After that the classpath was included and I could run it from Eclipse again.

    Hope this helps someone out there.

提交回复
热议问题