Eclipse Error: 'Setting build path' has encountered error

谁说我不能喝 提交于 2019-12-03 09:40:53

Make sure that the directory and file are still there, take a look at D:\workspace\ltwitter is a valid path, has a .classpath file and it is readable. Try opening .classpath in Notepad for a test of readability.

Sentry

I had the same problem, and I found out it was because the .classpath file was hidden. Removing the hidden attribute resolved the issue.

I had the same issue with 64-bit Windows 7 and it was resolved by clearing the Hidden attribute.

Check directory permissions on D:\workspace\ltwitter and file permissions on D:\workspace\ltwitter\.classpath.

File Properties->Security tab in Windows Explorer

Does D:\workspace\ltwitter\ exist? Do you have access to it? Is this where the project lies?

You can fix the build path using the context menu of the project -> Build Path -> Configure Build Path. There you can see all entries, the ones which are not valid are marked as such.

VonC

Assuming the directory exist and has the proper authorization, check also your logs for missing properties during eclipse launch (see this thread)

If you find some missing properties, try this eclipse.ini

On Mac, Below command helped me to resolve this.

sudo chmod 777 .classpath

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!