普通网友 2017-10-27 05:59 采纳率: 0%
浏览 8256

IDEA 的maven出错 Unable to import maven project

maven也自己下了,配置也都照着网上配了,环境变量什么的都弄了,IDEA的maven也照着网上配了

这是错误日志

java.lang.RuntimeException: Cannot reconnect.
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
at org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:550)
at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:397)
at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103)
at org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62)
at org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:639)
at org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:554)
at org.jetbrains.idea.maven.project.MavenProjectsTree.doAdd(MavenProjectsTree.java:499)
at org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:460)
at org.jetbrains.idea.maven.project.MavenProjectsTree.updateAll(MavenProjectsTree.java:431)
at org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:60)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107)
at org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:460)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:330)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is:
com.intellij.execution.ExecutionException:
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:175)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:80)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenServerManager$7.execute(MavenServerManager.java:553)
at org.jetbrains.idea.maven.server.MavenServerManager$7.execute(MavenServerManager.java:550)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
... 20 more
Caused by: com.intellij.execution.ExecutionException:
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:166)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:172)
... 25 more
2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - IntelliJ IDEA 2017.2.5 Build #IU-172.4343.14
2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release
2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - VM: OpenJDK 64-Bit Server VM
2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - Vendor: JetBrains s.r.o
2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - OS: Windows 10
2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - Last Action: ShowSettings

  • 写回答

1条回答

  • mj200961 2017-10-27 06:58
    关注

    try to delete .m2 repository entirely then update your maven project again

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器