Java 找到非托管pom.xml文件(无法在IntelliJ中导入maven项目)
我无法在IntelliJ中导入我的maven项目。该项目具有pom.xml文件,但IntelliJ不会加载该文件。检查以下日志:Java 找到非托管pom.xml文件(无法在IntelliJ中导入maven项目),java,maven,intellij-idea,Java,Maven,Intellij Idea,我无法在IntelliJ中导入我的maven项目。该项目具有pom.xml文件,但IntelliJ不会加载该文件。检查以下日志: Caused by: java.lang.RuntimeException: Cannot reconnect Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is: java.rmi.ConnectException: Connection
Caused by: java.lang.RuntimeException: Cannot reconnect
Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is:
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Operation timed out (Connection timed out)
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Operation timed out (Connection timed out)
Caused by: java.net.ConnectException: Operation timed out (Connection timed out)
我在etc/hosts中只保留了下面的块,这很有效:
127.0.0.1 localhost
看,这是关于记忆的。我想我的问题是关于网络,但是谢谢你的建议!看见