intellij 14 - Unable to import maven project in IntelliJ14 -
i'm trying import maven projects intellij button (the 1 arrows in circle), following message "unable import maven project. see logs details", shown in following picture
if go log, see:
2015-06-01 11:16:46,932 [ 89176] error - #org.jetbrains.idea.maven - org/apache/maven/execution/mavenexecutionrequestpopulationexception java.lang.noclassdeffounderror: org/apache/maven/execution/mavenexecutionrequestpopulationexception @ org.jetbrains.idea.maven.server.maven32serverimpl.applyprofiles(maven32serverimpl.java:81) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ sun.rmi.server.unicastserverref.dispatch(unicastserverref.java:322) @ sun.rmi.transport.transport$1.run(transport.java:177) @ sun.rmi.transport.transport$1.run(transport.java:174) @ java.security.accesscontroller.doprivileged(native method) @ sun.rmi.transport.transport.servicecall(transport.java:173) @ sun.rmi.transport.tcp.tcptransport.handlemessages(tcptransport.java:556) @ sun.rmi.transport.tcp.tcptransport$connectionhandler.run0(tcptransport.java:811) @ sun.rmi.transport.tcp.tcptransport$connectionhandler.run(tcptransport.java:670) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) caused by: java.lang.classnotfoundexception: org.apache.maven.execution.mavenexecutionrequestpopulationexception @ java.net.urlclassloader$1.run(urlclassloader.java:366) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:358) ... 16 more 2015-06-01 11:16:46,933 [ 89177] error - #org.jetbrains.idea.maven - intellij idea 14.1.3 build #iu-141.1010.3 2015-06-01 11:16:46,933 [ 89177] error - #org.jetbrains.idea.maven - jdk: 1.7.0_71 2015-06-01 11:16:46,933 [ 89177] error - #org.jetbrains.idea.maven - vm: java hotspot(tm) 64-bit server vm 2015-06-01 11:16:46,933 [ 89177] error - #org.jetbrains.idea.maven - vendor: oracle corporation 2015-06-01 11:16:46,933 [ 89177] error - #org.jetbrains.idea.maven - os: linux 2015-06-01 11:16:46,933 [ 89177] error - #org.jetbrains.idea.maven - last action: maven.reimport
i'm using maven 3.3.3 , jdk 1.7.0_71 on 64bit ubuntu machine.
strange thing, can use maven command line. idea?
solved. had remove intellij project folder (.idea
) , create new project existing source clicking on parent pom. then, worked properly.
i guess file corrupted.
in steps. have like:
after deleting .idea folder have:
so close project , start 1 existing sources:
you select pom.xml file create new project , oveeride intellij project if 1 found.
now should see same in first picture.
Comments
Post a Comment