file not found manifest.mf eclipse
EclipseMavenmanifest.mfEclipse 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:
- Right click on project > Maven > Disable Maven Nature
- 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.