Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I imported a Maven project in to my Eclipse after that I ran maven clean. I am facing an error:

java.io.FileNotFoundException:/home/eclipse/.metadata/.plugins/org.eclips>e.m2e.launching/launches/m2conf9054790604023893654.tmp (No such file or >directory).at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.(FileInputStream.java:138) at java.io.FileInputStream.(FileInputStream.java:93) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:390) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356).

Can anyone tell me why I'm getting this error?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
340 views
Welcome To Ask or Share your Answers For Others

1 Answer

Please check if you have the .m2 folder in your home directory. This folder contains the repository of all the maven dependencies (jars) that we will be using in our code. In case the .m2 folder was not created by default when you installed eclipse, or if the version of eclipse you have does not support maven, install a version that has the maven plugin by default. Another option you can try is to create the .m2/repository folder in your home directory manually.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...