Missing .classpath file in Eclipse project

后端 未结 10 1001
傲寒
傲寒 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:34

    Just had the same issue after trying to create my view on a new PC. The cause of the issue for me was that .classpath file was marked as read-only, for whatever reason. To resolve this I did the following:

    Go to workspace directory --> Java Source folder --> Project Directory --> right click on .classpath and select Properties from the list --> uncheck 'Read-only' and/or 'Hidden' attribute checkbox(es) --> Click 'Apply' button.

提交回复
热议问题