Unable to import maven project:
Answered
Hi,
i am not able to create a simple maven project.
In the log file it happens many exceptions.
Please see attach file IntelliJIdea2016.3.zip (idea.log and a Thread dump which upload from the web form)
thanks for helping and best regards
Faramarz
Please sign in to leave a comment.
Please see http://stackoverflow.com/a/12702961/104891.
Dear Serge
i have no proxy
my /etc/host is clean 127.0.0.1 localhost
i have no Java6 but i can not believe that this solve the problem
do you have any other solutions?
Please help
Thanks
2016-12-19 06:49:35,789 [ 13065] INFO - ution.rmi.RemoteProcessSupport - Port/ID: 22320/Maven3ServerImpl2c8fe670
2016-12-19 06:49:36,164 [ 13440] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@1b5920be
2016-12-19 06:49:55,793 [ 33069] WARN - ution.rmi.RemoteProcessSupport - java.rmi.NotBoundException: _DEAD_HAND_
2016-12-19 06:49:55,793 [ 33069] WARN - ution.rmi.RemoteProcessSupport - at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
2016-12-19 06:49:55,793 [ 33069] WARN - ution.rmi.RemoteProcessSupport - at com.intellij.execution.rmi.RemoteServer.start(RemoteServer.java:88)
2016-12-19 06:49:55,793 [ 33069] WARN - ution.rmi.RemoteProcessSupport - at org.jetbrains.idea.maven.server.RemoteMavenServer.main(RemoteMavenServer.java:22)
2016-12-19 06:50:50,887 [ 88163] WARN - ution.rmi.RemoteProcessSupport - The cook failed to start due to java.net.ConnectException: Operation timed out
can you see why i get a warning from org.jetbrains.idea.maven.server.RemoteMavenServer.main(RemoteMavenServer???
What happens is IDEA starts a process with Maven server and then tries to connect to this process for control using RMI.
The server binds: https://github.com/JetBrains/intellij-community/blob/6d7d268c32e469f0bfb77e9f0021c8f74b493bc3/platform/util-rt/src/com/intellij/execution/rmi/RemoteServer.java#L75-L75
Then it checks if binding has worked: https://github.com/JetBrains/intellij-community/blob/6d7d268c32e469f0bfb77e9f0021c8f74b493bc3/platform/util-rt/src/com/intellij/execution/rmi/RemoteServer.java#L88-L88
And here is where it fails with
java.rmi.NotBoundException: _DEAD_HAND_you see in the log.You can try running server/client RMI samples to see if they produce the same error:
http://www.javacoffeebreak.com/articles/javarmi/javarmi.html
https://coderanch.com/t/581165/java/java-rmi-NotBoundException-exception-localhost .
Hi,
i tried your advise. the rmi test has worked without any problems
http://www.ejbtutorial.com/java-rmi/group-chat-example-using-java-rmi-with-a-graphical-user-interface
What can i do to fix my maven problem?
Did you run RMI tests on the same Java version as IDEA uses (https://intellij-support.jetbrains.com/hc/articles/206544879) and with
JVM option that is used in IDEA by default? IDEA and Maven run on Java from
on your system.
Could be related to how your networking/protocols are configured on Mac.
I tried your advise
without -Djava.net.preferIPv4Stack=true it works fine
with the JVM Options it get this message:
on Server:
Chat Server failed: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Operation timed out
on Client:
java.rmi.NotBoundException: myabc
So it seems the JVM Option is, in this case, not set correctly.
How can i change this options? Please send me the right directory an file.
Thanks
Remove this option from the .vmoptions file, see https://intellij-support.jetbrains.com/hc/articles/206544869.
Dear Serge
it works now, thanks