file not found manifest.mf eclipse

EclipseMavenmanifest.mf

Eclipse Problem Overview


I'm using the following configuration :

  • Eclipse Indigo
  • Maven 2
  • ClearCase (like SVN and CVS)

and every time I want to run an application within eclipse a popup appears telling me that a Problem has occured : File not found : ...\target\classes\META-INF\MANIFEST.MF.

Eclipse Solutions


Solution 1 - Eclipse

Go to the root of the project. Wherever the pom is located then try to do a

 mvn eclipse:clean 

Then refresh your projects and see where that leaves you

Solution 2 - Eclipse

Right click on project then click on maven then do update project.It work for me.

Solution 3 - Eclipse

I had the similar issue. What I did is:

  1. Right click on project > Maven > Disable Maven Nature
  2. Right click on project > configure> Convert to maven project

Error gone

Solution 4 - Eclipse

If you're also using Maven and sometimes compiling outside of Eclipse, it could be removing Eclipse's manifest, and Eclipse won't recognize the manifest that external Maven creates.

> TL;DR Uncheck "Maven Archiver generates files under the build > directory" in Window > Preferences > Maven > WTP.

Read more in @cosjav's answer on another question.

Solution 5 - Eclipse

Right click on project -> Maven -> Update

DEBUG or RUN the server in order to fetch the recently created war file.

Make sure to check "Force update snapshots/releases" while doing MAVEN UPDATE

Solution 6 - Eclipse

clean all (involved) projects and refresh your open projects in your workspace

Solution 7 - Eclipse

I know this question has already been answered. After several tries, what worked for me was expanded my project in eclipse, right clicked on target directory and clicked refresh and that has been working ever since. Hope this works for someone if all the above fails.

Solution 8 - Eclipse

All. For me, there was an error in pom.xml. I formatted the code (Ctrl+Shift+F) and the error is gone. After that I was able to run the application.

Solution 9 - Eclipse

Close the eclipse and start the eclipse again. This will refresh the projects and problem will be solved.

Solution 10 - Eclipse

I had the same problem but it got resolved just disturb the formatting of

> POM.xml

and press

> ctrl+a and ctrl+shift+f then save the document

Solution 11 - Eclipse

Right click on project then select maven and then click on Update project after select the project name and update it'll be work fine.

Solution 12 - Eclipse

This issue appeared to me while I updated eclipse [updated to Eclipse 2020-12 (4.18)] as my project was open in eclipse. Then I closed my CLI (as I was running mvn test command), closed the project in eclipse and restarted my eclipse. Thereafter the issue was gone. Hopefully this will resolve your issue too.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAdilView Question on Stackoverflow
Solution 1 - Eclipseuser3302709View Answer on Stackoverflow
Solution 2 - Eclipsesitaram chhimpaView Answer on Stackoverflow
Solution 3 - Eclipserajeev pani..View Answer on Stackoverflow
Solution 4 - EclipseMerchakoView Answer on Stackoverflow
Solution 5 - EclipseAbhijith MengaramView Answer on Stackoverflow
Solution 6 - EclipseErdinc AyView Answer on Stackoverflow
Solution 7 - EclipsejmathewtView Answer on Stackoverflow
Solution 8 - EclipseSO_UserView Answer on Stackoverflow
Solution 9 - EclipseArunaView Answer on Stackoverflow
Solution 10 - EclipseKrithika View Answer on Stackoverflow
Solution 11 - EclipseAshish MehtaView Answer on Stackoverflow
Solution 12 - EclipsekdflowView Answer on Stackoverflow