Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Error: 'Setting build path' has encountered error

Tags:

I am using an API called jtwitter. It has a single jar file jtwitter.jar I have been working with it and maintained it using git. I hosted the code in github. For somedays, i have not touched its code. Today, when i cloned my git repo (actually my system got a crash some days back so I had to clone ) and loaded the project into eclipse. Now when i wanted to add the jtwitter.jar into the buildpath, the following error occurs.

I am giving the partial exception stack trace here

java.io.FileNotFoundException: D:\workspace\ltwitter\.classpath (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:377) at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:956) 

please help.

like image 690
Anand Avatar asked Dec 11 '09 13:12

Anand


People also ask

How do I resolve configure build path in eclipse?

Procedure. In Eclipse select the web project and right-click Build Path > Configure Build Path. This will display the Java Build Path window. Add the CICS and Liberty libraries, click Add Library > CICS Liberty libraries > Next > Finish.

How do I open an error window in eclipse?

From the main menu, select Window > Show view > Other. Then select General > Error Log. The error log is displayed, showing the following information for each error: The status of the error (for example, error or warning)


1 Answers

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

like image 72
Sentry Avatar answered Oct 27 '22 14:10

Sentry