从官网下载了一个最新的idea(2017.1.4 community),多一个一个类写了一个单元测试,测试代码都没写,然后运行测试,竟然报错,报错为Error connecting to 127.0.0.1:54305; reason: Connection refused: no further information: /127.0.0.1:54305
不知道链接54305端口是干什么的。有没有谁遇到过。
完整错误 :
Error:Abnormal build process termination:
"E:\Program Files\Java\jdk1.8.0_131\bin\java" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true -Dpreload.project.path=G:/idea_workspace/sd -Dpreload.config.path=C:/Users/Administrator.PKQWYFHRHGMW4BF/.IdeaIC2017.1/config/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=8825408310847103471 -Dfile.encoding=GBK -Djps.file.types.component.name=CommunityFileTypes -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IdeaIC2017.1 "-Didea.home.path=E:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.1.4" -Didea.config.path=C:\Users\Administrator.PKQWYFHRHGMW4BF\.IdeaIC2017.1\config -Didea.plugins.path=C:\Users\Administrator.PKQWYFHRHGMW4BF\.IdeaIC2017.1\config\plugins -Djps.log.dir=C:/Users/Administrator.PKQWYFHRHGMW4BF/.IdeaIC2017.1/system/log/build-log "-Djps.fallback.jdk.home=E:/Program Files/Java/jdk1.8.0_131" -Djps.fallback.jdk.version=1.8.0_131 -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/Administrator.PKQWYFHRHGMW4BF/.IdeaIC2017.1/system/compile-server/sd_5776e480/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation.experimental=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\Administrator.PKQWYFHRHGMW4BF\AppData\Local\Temp\kotlin-idea-3976143378709142469-is-running\" -classpath "E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jps-launcher.jar;E:/Program Files/Java/jdk1.8.0_131/lib/tools.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/netty-all-4.1.9.Final.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jdom.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/log4j.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/asm-all.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/resources_en.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jps-builders-6.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/protobuf-2.5.0.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/util.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/annotations.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/oromatcher.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jps-model.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/nanoxml-2.2.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/idea_rt.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jna-platform.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jgoodies-forms.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/trove4j.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/javac2.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jna.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/snappy-in-java-0.5.1.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/forms_rt.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jps-builders.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/openapi.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/commons-io-2.2.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/commons-lang-2.6.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-base-services-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-base-services-groovy-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-cli-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-core-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-logging-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-messaging-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-model-core-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-model-groovy-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-native-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-process-services-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-resources-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-tooling-api-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-tooling-extension-api.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-tooling-extension-impl.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-version-info-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-wrapper-3.3.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/guava-jdk5-17.0.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/jansi-1.14.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/kryo-2.22.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/minlog-1.2.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-freebsd-amd64-libcpp-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-freebsd-amd64-libstdcpp-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-freebsd-i386-libcpp-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-freebsd-i386-libstdcpp-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-linux-amd64-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-linux-amd64-ncurses5-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-linux-amd64-ncurses6-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-linux-i386-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-linux-i386-ncurses5-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-linux-i386-ncurses6-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-osx-amd64-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-osx-i386-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-windows-amd64-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/native-platform-windows-i386-0.12.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/objenesis-1.2.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/reflectasm-1.07.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/resources_en.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/gson-2.5.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/jarutils.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/ant/lib/ant-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/devkit/lib/devkit-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Groovy/lib/groovy-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Groovy/lib/groovy-rt-constants.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/eclipse/lib/eclipse-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/eclipse/lib/common-eclipse-util.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/maven/lib/maven-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/maven/lib/aether-dependency-resolver.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/maven/lib/aether-1.1.0-all.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/maven/lib/maven-aether-provider-3.3.9-all.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/maven/lib/plexus-utils-2.0.6.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/gradle/lib/gradle-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/jps/android-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/jps/android-gradle-jps.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/android-common.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/android-rt.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/sdk-common.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/repository.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/sdklib.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/common.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/jarutils.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/layoutlib-api.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/android/lib/manifest-merger.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Kotlin/lib/kotlin-runtime.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Kotlin/lib/kotlin-reflect.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Kotlin/lib/kotlin-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Kotlin/lib/kotlin-android-extensions-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/javaFX/lib/javaFX-jps-plugin.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 54305 d42785f9-9b68-461c-9adf-6828c47efae8 C:/Users/Administrator.PKQWYFHRHGMW4BF/.IdeaIC2017.1/system/compile-server
Build process started. Classpath: E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/jps-launcher.jar;E:/Program Files/Java/jdk1.8.0_131/lib/tools.jar;E:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.1.4/lib/optimizedFileManager.jar
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Error connecting to 127.0.0.1:54305; reason: Connection refused: no further information: /127.0.0.1:54305
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /127.0.0.1:54305
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:352) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:612) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused: no further information ... 15 moreExiting.