[英]Non-managed pom.xml file found (Unable to import maven project in IntelliJ)
I could not import my maven project in IntelliJ. 我无法在IntelliJ中导入我的Maven项目。 The project has
pom.xml
file, but the IntelliJ does not load it. 该项目具有
pom.xml
文件,但是IntelliJ不会加载它。 Check the log below: 检查以下日志:
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.