IOException:在IntelliJ IDEA 14.1.1中运行应用程序时无法建立环回连接

时间:2015-06-03 03:21:51

标签: java intellij-idea

代码非常简单,只是一个Helloworld程序,但在运行IDEA时 给了我这个错误:

Error:Abnormal build process termination: 
Build process started. Classpath: /E:/Program Files (x86)/JetBrains/IntelliJ IDEA 14.1.3/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_45/lib/tools.jar;/E:/Program Files (x86)/JetBrains/IntelliJ IDEA 14.1.3/lib/optimizedFileManager.jar;E:/Program Files (x86)/JetBrains/IntelliJ IDEA 14.1.3/lib/ecj-4.4.jar
Error connecting to 127.0.0.1:58568; reason: failed to create a child event loop
java.lang.IllegalStateException: failed to create a child event loop
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:81)
    at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:50)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:58)
    at org.jetbrains.jps.cmdline.BuildMain.main(BuildMain.java:97)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jetbrains.jps.cmdline.Launcher.main(Launcher.java:58)
Caused by: io.netty.channel.ChannelException: failed to open a new selector
    at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:127)
    at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:119)
    at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:97)
    at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:31)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77)
    ... 9 more
Caused by: java.io.IOException: Unable to establish loopback connection
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101)
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:68)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:170)
    at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)

那么我可以做些什么来解决这个问题呢?

0 个答案:

没有答案
相关问题