Intellij Idea出现 unable to establish loopback connection

℡╲_俬逩灬. 提交于 2020-01-29 12:40:14

项目一运行就出现这个情况,好几次了,最后发现只要防火墙关闭,项目就可以运行成功。
错误提示:
“C:\Program Files\Java\jdk1.8.020\bin\java” -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\”\” -Djdt.compiler.useSingleThread=true -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=7479074934683642091 -Dfile.encoding=GBK -Djps.file.types.component.name=FileTypeManager -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2017.1 “-Didea.home.path=C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.3” -Didea.config.path=C:\Users\Administrator.IntelliJIdea2017.1\config -Didea.plugins.path=C:\Users\Administrator.IntelliJIdea2017.1\config\plugins -Djps.log.dir=C:/Users/Administrator/.IntelliJIdea2017.1/system/log/build-log “-Djps.fallback.jdk.home=C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/jre64” -Djps.fallback.jdk.version=1.8.0_112-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/Administrator/.IntelliJIdea2017.1/system/compile-server/rabbitmq_c5803b63/_temp -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation.experimental=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\”C:\Users\ADMINI~1\AppData\Local\Temp\kotlin-idea-8694323355102825011-is-running\” -classpath “C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_20/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/optimizedFileManager.jar” org.jetbrains.jps.cmdline.Launcher “C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/oromatcher.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/log4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/asm-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/annotations.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/util.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jdom.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/resources_en.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/javac2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jgoodies-forms.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/idea_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/forms_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jna.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jps-builders.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jps-builders-6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jna-platform.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/protobuf-2.5.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/openapi.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/snappy-in-java-0.5.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jps-model.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/trove4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/nanoxml-2.2.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/netty-all-4.1.9.Final.jar;;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/commons-io-2.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/commons-lang-2.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-base-services-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-base-services-groovy-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-cli-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-core-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-logging-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-messaging-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-model-core-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-model-groovy-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-native-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-process-services-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-resources-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-tooling-api-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-tooling-extension-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-tooling-extension-impl.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-version-info-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-wrapper-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/guava-jdk5-17.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/jansi-1.14.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/kryo-2.22.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/minlog-1.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-amd64-libcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-amd64-libstdcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-i386-libcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-i386-libstdcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-amd64-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-amd64-ncurses5-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-amd64-ncurses6-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-i386-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-i386-ncurses5-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-i386-ncurses6-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-osx-amd64-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-osx-i386-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-windows-amd64-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-windows-i386-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/objenesis-1.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/reflectasm-1.07.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/resources_en.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/gson-2.5.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/devkit/lib/devkit-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Groovy/lib/groovy-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Groovy/lib/groovy-rt-constants.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/eclipse/lib/eclipse-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/eclipse/lib/common-eclipse-util.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/maven/lib/aether-dependency-resolver.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/maven/lib/aether-1.1.0-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/maven/lib/maven-aether-provider-3.3.9-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/maven/lib/plexus-utils-2.0.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/osmorc/lib/osmorc-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/osmorc/lib/bndlib-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/osmorc/lib/bnd-repository-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/osmorc/lib/bnd-resolve-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/osmorc/lib/plexus-utils-3.0.10.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/osmorc/lib/bundlor-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/aspectj/lib/aspectj-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/flex/lib/flex-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/flex/lib/flex-shared.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/JavaEE/lib/javaee-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/dmServer/lib/dmServer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/GwtStudio/lib/gwt-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Grails/lib/grails-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Grails/lib/grails-compiler-patch.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/jps/android-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/jps/android-gradle-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/android-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/android-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/sdk-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/repository.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/sdklib.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/layoutlib-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/android/lib/manifest-merger.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Kotlin/lib/kotlin-runtime.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Kotlin/lib/kotlin-reflect.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Kotlin/lib/kotlin-android-extensions-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/plugins/javaFX/lib/common-javaFX-plugin.jar” org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 63108 7ea6d001-6489-4c65-b465-fe7f063ec933 C:/Users/Administrator/.IntelliJIdea2017.1/system/compile-server
Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_20/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.3/lib/optimizedFileManager.jar
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.Error connecting to 127.0.0.1:63108; 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:88)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:51)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:87)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:82)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:63)
at org.jetbrains.jps.cmdline.BuildMain.main(BuildMain.java:88)
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:483)
at org.jetbrains.jps.cmdline.Launcher.main(Launcher.java:59)
Caused by: io.netty.channel.ChannelException: failed to open a new selector
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:157)
at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:149)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:127)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:36)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
… 11 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)
at java.nio.channels.Pipe.open(Pipe.java:155)
at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:155)
… 15 more
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:457)
at sun.nio.ch.Net.connect(Net.java:449)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:647)
at java.nio.channels.SocketChannel.open(SocketChannel.java:189)
at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:130)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83)
… 23 more
Exiting.

关闭防火墙就好了!!!

 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!