Idea X (98.117 - latest) won't import maven projects

Okay, so I tried deleting my current project to see if that would solve my maven woes and then it wouldn't import the project again - it seems to get confused on looking up profiles and then says there is nothing to import. I reverted back to 98.187 and 98.117 and both have the same issues. I had to load 9 to get it to rebuild my projects (and this time, they built correctly). Not sure if it is something in my environemnt or if you have some serious maven issues with the last 3 EAP's.

3 comments

Okay, I figured out what the issue was.I was consistently getting this exception and it was causing all of my issues.

98.231/plugins/maven/lib/archetype-common-2.0-alpha-4-SNAPSHOT.jar:/home/ccanning/intellij/idea-IU-98.231/plugins/maven/lib/maven-facade-api.jar org.jetbrains.idea.maven.facade.RemoteMavenServer
2010-10-27 12:31:18,641 [ 113478]   INFO - ution.rmi.RemoteProcessSupport - Port/ID:47747/MavenFacadeImpl9795f5b
2010-10-27 12:31:20,198 [ 115035]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/feature.usage.statistics.xml file is null
2010-10-27 12:31:20,198 [ 115035]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $APP_CONFIG$/feature.usage.statistics.xml
2010-10-27 12:37:37,528 [ 492365]   INFO -      #org.jetbrains.idea.maven - Connection failed. Will be reconnected on the next request.
java.rmi.ConnectException: Connection refused to host: 10.7.64.57; nested exception is:
        java.net.ConnectException: Connection timed out
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
        at $Proxy60.set(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.intellij.execution.rmi.RemoteUtil$3$1$1.compute(RemoteUtil.java:96)
        at com.intellij.execution.rmi.RemoteUtil.executeWithClassLoader(RemoteUtil.java:134)
        at com.intellij.execution.rmi.RemoteUtil$3$1.invoke(RemoteUtil.java:93)
        at $Proxy60.set(Unknown Source)
        at org.jetbrains.idea.maven.facade.MavenFacadeManager.create(MavenFacadeManager.java:126)
        at org.jetbrains.idea.maven.facade.MavenFacadeManager.create(MavenFacadeManager.java:72)
        at org.jetbrains.idea.maven.facade.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
        at org.jetbrains.idea.maven.facade.MavenFacadeManager$11.execute(MavenFacadeManager.java:321)
        at org.jetbrains.idea.maven.facade.MavenFacadeManager$11.execute(MavenFacadeManager.java:318)
        at org.jetbrains.idea.maven.facade.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:75)
        at org.jetbrains.idea.maven.facade.MavenFacadeManager.applyProfiles(MavenFacadeManager.java:318)
        at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:357)
        at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:90)
        at org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:53)

I have now resolved the connection issues. Wonder if there is a better way to handle this exception.

0

Hello Charles,
Please submit the issue on that, our Maven people are on vacation right now.

0

Please sign in to leave a comment.