SpringBoot项目的pom.xml中添加依赖,提示如下图,See logs for details,错误信息如下
2019-09-09 19:14:30,555 [3957442] WARN - ution.rmi.RemoteProcessSupport - 错误: 找不到或无法加载主类 ?-Xmx1024m
2019-09-09 19:14:30,742 [3957629] WARN - ution.rmi.RemoteProcessSupport - 错误: 找不到或无法加载主类 ?-Xmx1024m
2019-09-09 19:14:30,742 [3957629] WARN - ution.rmi.RemoteProcessSupport -
2019-09-09 19:14:30,758 [3957645] ERROR - #org.jetbrains.idea.maven - Cannot reconnect.
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:404)
at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:399)
at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:108)
at org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:67)
at org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:665)
at org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:555)
at org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:464)
at org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:443)
at org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:65)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:135)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:109)
at org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:458)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:311)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is:
com.intellij.execution.ExecutionException: 错误: 找不到或无法加载主类 ?-Xmx1024m
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:169)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:74)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$3(MavenServerManager.java:404)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
... 19 more
Caused by: com.intellij.execution.ExecutionException: 错误: 找不到或无法加载主类 ?-Xmx1024m
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:144)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:166)
... 23 more### 问题描述
请问这个怎么解决啊?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论