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.

Comment actions Permalink

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:; nested exception is: Connection timed out
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
        at sun.rmi.transport.tcp.TCPChannel.createConnection(
        at sun.rmi.transport.tcp.TCPChannel.newConnection(
        at sun.rmi.server.UnicastRef.invoke(
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(
        at $Proxy60.set(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.intellij.execution.rmi.RemoteUtil$3$1$1.compute(
        at com.intellij.execution.rmi.RemoteUtil.executeWithClassLoader(
        at com.intellij.execution.rmi.RemoteUtil$3$1.invoke(
        at $Proxy60.set(Unknown Source)
        at org.jetbrains.idea.maven.facade.MavenFacadeManager.create(
        at org.jetbrains.idea.maven.facade.MavenFacadeManager.create(
        at org.jetbrains.idea.maven.facade.RemoteObjectWrapper.getOrCreateWrappee(
        at org.jetbrains.idea.maven.facade.MavenFacadeManager$11.execute(
        at org.jetbrains.idea.maven.facade.MavenFacadeManager$11.execute(
        at org.jetbrains.idea.maven.facade.RemoteObjectWrapper.perform(
        at org.jetbrains.idea.maven.facade.MavenFacadeManager.applyProfiles(
        at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(
        at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(
        at org.jetbrains.idea.maven.project.MavenProjectReader.readProject(

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

Comment actions Permalink

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


Please sign in to leave a comment.