Gibbs
Gibbs

Reputation: 22964

Restore .classpath of a project

I have deleted .classpath .project .settings of a project in the project directory. I have refreshed that maven project in Eclipse. Lots of errors due to those files missing. I rebuilt the project. .project .settings are created successfully. But not .classpath file. Same error exists. I have deleted project from eclipse workspace and tried the same. Still that file is missing.

Please help me to solve this issue

Right click option doesn't show me configure build path option

Upvotes: 3

Views: 2844

Answers (1)

Utsav Shah
Utsav Shah

Reputation: 177

Re-import the project in the Eclipse. It will automatically create .classpath file for a project. I once had the same problem with Gradle project. I deleted the project from the workspace and re-imported the project and voila !! .classpath was created.

Upvotes: 1

Related Questions