[英]IntelliJ IDEA 15 not able to import maven projects
Here are some of the messages from my IDEA log file. 这是我的IDEA日志文件中的一些消息。 It appears that it is not able to connect to some maven service on localhost.
看来它无法连接到本地主机上的某些Maven服务。 This used to work just fine for me with 14.
这对我来说适合14岁。
classworlds-2.5.1.jar" org.jetbrains.idea.maven.server.RemoteMavenServer
2016-01-27 20:03:44,054 [ 318261] INFO - ution.rmi.RemoteProcessSupport - Port/ID: 44435/Maven32ServerImplaa933e0f
2016-01-27 20:04:59,912 [ 394119] WARN - ution.rmi.RemoteProcessSupport - The cook failed to start due to java.net.ConnectException: Operation timed out
2016-01-27 20:05:44,776 [ 438983] WARN - ution.rmi.RemoteProcessSupport - java.rmi.NotBoundException: _DEAD_HAND_
2016-01-27 20:05:44,776 [ 438983] WARN - ution.rmi.RemoteProcessSupport - at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
2016-01-27 20:05:44,776 [ 438983] WARN - ution.rmi.RemoteProcessSupport - at com.intellij.execution.rmi.RemoteServer.start(RemoteServer.java:88)
2016-01-27 20:05:44,776 [ 438983] WARN - ution.rmi.RemoteProcessSupport - at org.jetbrains.idea.maven.server.RemoteMavenServer.main(RemoteMavenServer.java:22)
2016-01-27 20:06:15,111 [ 469318] WARN - #org.jetbrains.idea.maven - Cannot open index /Users/xxxxx/Library/Caches/IdeaIC15/Maven/Indices/Index0
org.jetbrains.idea.maven.indices.MavenIndexException: Cannot open index /Users/xxxxx/Library/Caches/IdeaIC15/Maven/Indices/Index0
Update - 1 更新-1
Found this bug report -> https://youtrack.jetbrains.com/issue/IDEA-147234 which says we should upgrade maven to atleast 3.3.3 I did but I am still seeing the same problem 找到了此错误报告-> https://youtrack.jetbrains.com/issue/IDEA-147234 ,其中说我们应该将Maven升级到至少3.3.3,但我仍然遇到相同的问题
Looks like it's related with /etc/hosts as @MoizRaja mentioned. 看起来它与/ etc / hosts有关,就像@MoizRaja提到的那样。 I suggest to try commenting everything in /etc/hosts and just leave
我建议尝试注释/ etc / hosts中的所有内容,然后离开
127.0.0.1 localhost
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.