IDEA Maven 配置问题 ubuntu18.4
IDEA 报错部分日志:
Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is:
com.intellij.execution.ExecutionException: Cannot run program "/usr/local/jdk1.8/bin/java" (in directory "/usr/local/src/idea/idea-IU-192.5728.98/bin"): error=2, No such file or directory
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:238)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:75)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$8(MavenServerManager.java:463)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
... 20 more
Caused by: com.intellij.execution.ExecutionException: Cannot run program "/usr/local/jdk1.8/bin/java" (in directory "/usr/local/src/idea/idea-IU-192.5728.98/bin"): error=2, No such file or directory
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:143)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:226)
... 24 more
Caused by: com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "/usr/local/jdk1.8/bin/java" (in directory "/usr/local/src/idea/idea-IU-192.5728.98/bin"): error=2, No such file or directory
1.idea提示如下:
2.idea配置maven如下:
3.maven本地仓库配置如下:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我做过 add我q3461896724详细说