Mac升级到macOS Sonoma 14.1.1 IDEA Maven报错
我将系统从13升级到14后,无法使用maven import,出现下述错误, 重新安装IDEA 仍然有该问题。
2023-11-12 10:01:20,071 [ 332634] WARN - #o.j.i.maven - java.util.concurrent.ExecutionException: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Broken pipe
org.jetbrains.idea.maven.server.CannotStartServerException: java.util.concurrent.ExecutionException: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Broken pipe
at org.jetbrains.idea.maven.server.MavenServerConnectorBase.getServer(MavenServerConnectorBase.java:97)
at org.jetbrains.idea.maven.server.MavenServerConnectorBase.ping(MavenServerConnectorBase.java:150)
at org.jetbrains.idea.maven.server.MavenServerConnectorImpl.ping(MavenServerConnectorImpl.java:24)
at org.jetbrains.idea.maven.server.MavenServerManagerImpl.getConnector(MavenServerManagerImpl.java:166)
at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:372)
at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:98)
...
Caused by: java.util.concurrent.ExecutionException: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Broken pipe
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at org.jetbrains.concurrency.AsyncPromise.get(AsyncPromise.kt:44)
at org.jetbrains.idea.maven.server.MavenServerConnectorBase.waitForServer(MavenServerConnectorBase.java:73)
at org.jetbrains.idea.maven.server.MavenServerConnectorBase.getServer(MavenServerConnectorBase.java:80)
... 112 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Broken pipe
at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:308)
at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:204)
at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:344)
at java.rmi/sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:116)
at com.intellij.execution.rmi.RemoteProcessSupport.lambda$acquire$2(RemoteProcessSupport.java:324)
at com.intellij.openapi.util.ClassLoaderUtil.computeWithClassLoader(ClassLoaderUtil.java:31)
at com.intellij.execution.rmi.RemoteUtil.executeWithClassLoader(RemoteUtil.java:205)
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:322)
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:197)
at org.jetbrains.idea.maven.server.MavenServerConnectorImpl$StartServerTask.run(MavenServerConnectorImpl.java:111)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:272)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
... 7 more
Caused by: java.net.SocketException: Broken pipe
at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:425)
at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:445)
at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:831)
at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1035)
at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
at java.base/java.io.DataOutputStream.flush(DataOutputStream.java:128)
at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:230)
... 19 more
[经过版主编辑]
MacBook Pro 13″, macOS 14.1