想让人注意到某个有用的答案?请投赞同票!

有没有人帮助到了你?有没有任何答案或用户使用技巧解决了你的问题?选择“赞同票”箭头投出你的赞同票。你的反馈能帮助到他人!

进一步了解在什么情况下投赞同票:了解投票 - Apple 社区

看上去一段时间内没有人回复。 要再次发起对话,只需提出一个新问题即可。

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

发布日期 2023年11月12日 上午10:32

回复
回复量: 9

Mac升级到macOS Sonoma 14.1.1 IDEA Maven报错

欢迎来到 Apple 支持社区
Apple 客户在其产品方面互相帮助的论坛。使用您的 Apple 帐户开始畅游其中吧!!