Alex Rivera | Logout

Eclipse error: This project needs to migrate WTP metadata

Asked 2009-02-02T13:13:09.527
55

We started a Web Project in Eclipse 3.2 a ways back and we've since upgraded to Eclipse 3.4 but now the Project has the error:

"This project needs to migrate WTP metadata"

We've tried right-clicking and doing the "quick-fix" which is in fact to Migrate WTP Metadata. Unfortunately nothing happens and the error remains.

We can delete that error from the Problems and everything works as it should, however, every time we re-import the project from source control, the error re-appears. Any ideas on how to permanently get rid of this error or how to ACTUALLY migrate WTP metadata?

UPDATE: Everyone, please vote on the answer that works for you rather than adding your own answer that references a previous person's answer.

Edit
Report

1 Answer

4

try adding this line in the .project file

<nature>org.eclipse.wst.common.project.facet.core.nature</nature>

Or refer to this discussion: for instance, make sure there is no duplicate entries in .sessions/org.eclipse.wst.common.component


As noted in the comment by larf311, the actual answer in this instance was:

delete the ".settings/org.eclipse.wst.common.component" file.

Simple. ;)

answered 2009-02-02T13:23:07.977

Your Answer