2017-12-14 6 views
0

IntelliJでmavenプロジェクトをインポートできませんでした。プロジェクトにpom.xmlファイルがありますが、IntelliJはファイルを読み込みません。以下のログを確認してください:管理されていないpom.xmlファイルが見つかりました(IntelliJでmavenプロジェクトをインポートできません)

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) 
+0

はhttp://stackoverflow.com/a/42427510/104891を参照してください。 – CrazyCoder

+0

これはメモリに関するものです。私の問題はネットワークについてだと思うが、提案に感謝する! –

+1

https://youtrack.jetbrains.com/issue/IDEA-157303を参照してください。 – CrazyCoder

答えて

0

私はetc/hostsに以下単にブロックを維持し、それが動作します:

127.0.0.1 localhost 
関連する問題