简体   繁体   English

找到非托管的pom.xml文件(无法在IntelliJ中导入Maven项目)

[英]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.

相关问题 在 eclipse 中导入 maven 项目时缺少 pom.xml 文件 - pom.xml file is missing when import maven project in eclipse 如何使用带有命令“idea pom.xml”的 Intellij 命令行工具导入 Maven 项目? - How to import a Maven project with Intellij Command line tool with command “idea pom.xml”? IntelliJ:如何使Maven项目仅使用pom.xml文件中显示的依赖项 - IntelliJ: How to make Maven project use only the dependencies show in pom.xml file Maven 在 IntelliJ IDEA 中创建一个空的 pom.xml 文件 - Maven creates an empty pom.xml file in IntelliJ IDEA 在Ubuntu上将Maven项目导入Eclipse 3.5> pom.xml已禁用 - Import maven project to Eclipse 3.5 on Ubuntu > pom.xml is disabled 在 maven 项目中的 pom.xml 中找不到依赖关系错误 - Dependency not found error in pom.xml in a maven project 无法将包装作为pom.xml中的war添加到Eclipse中的Maven项目中 - Unable to add packaging as war in pom.xml to a maven project in eclipse 我应该如何编辑我的 pom.xml 文件以将我的 maven 项目导入到 sonarqube? - How should I edit my pom.xml file to import my maven project to sonarqube? 从pom.xml为现有Maven项目创建WAR文件 - Create WAR file from pom.xml for an existing Maven project 新 Maven / Spring MVC 项目的最小 pom.xml 文件 - Minimum pom.xml file for new Maven / Spring MVC project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM