IDEA build的时候报错:
Error:Abnormal build process termination:
D:\tools\Java\jdk1.8.131\bin\java -Xmx2048m -Djava.awt.headless=true -Djava.endorsed.dirs="" -Djdt.compiler.useSingleThread=true -Dpreload.project.path=E:/SmartCloud/CLOUD/basedata-1.0 -Dpreload.config.path=C:/Users/lanbin.UT/.IntelliJIdea2017.1/config/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=3416710214437510807 -XX:MaxPermSize=64m -Dfile.encoding=GBK -Djps.file.types.component.name=FileTypeManager -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2017.1 "-Didea.home.path=D:\tools\JetBrains\idea\IntelliJ IDEA 2017.1.3" -Didea.config.path=C:\Users\lanbin.UT.IntelliJIdea2017.1\config -Didea.plugins.path=C:\Users\lanbin.UT.IntelliJIdea2017.1\config\plugins -Djps.log.dir=C:/Users/lanbin.UT/.IntelliJIdea2017.1/system/log/build-log "-Djps.fallback.jdk.home=D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/jre64" -Djps.fallback.jdk.version=1.8.0_112-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/lanbin.UT/.IntelliJIdea2017.1/system/compile-server/basedata-1_0_d2d7a49a/temp -Djps.backward.ref.index.builder=true -classpath "D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jps-launcher.jar;D:/tools/Java/jdk1.8.131/lib/tools.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/log4j.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/oromatcher.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jps-builders.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/openapi.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/javac2.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jps-model.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/nanoxml-2.2.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jps-builders-6.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/snappy-in-java-0.5.1.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/util.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/asm-all.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jgoodies-forms.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/trove4j.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jna.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/resources_en.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/netty-all-4.1.9.Final.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/forms_rt.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/annotations.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/protobuf-2.5.0.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/idea_rt.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jdom.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jna-platform.jar;;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/commons-io-2.2.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/commons-lang-2.6.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-base-services-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-base-services-groovy-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-cli-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-core-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-logging-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-messaging-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-model-core-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-model-groovy-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-native-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-process-services-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-resources-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-tooling-api-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-tooling-extension-api.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-tooling-extension-impl.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-version-info-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-wrapper-3.3.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/guava-jdk5-17.0.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/jansi-1.14.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/kryo-2.22.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/minlog-1.2.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-amd64-libcpp-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-amd64-libstdcpp-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-i386-libcpp-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-freebsd-i386-libstdcpp-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-amd64-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-amd64-ncurses5-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-amd64-ncurses6-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-i386-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-i386-ncurses5-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-linux-i386-ncurses6-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-osx-amd64-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-osx-i386-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-windows-amd64-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/native-platform-windows-i386-0.12.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/objenesis-1.2.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/reflectasm-1.07.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/resources_en.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/Groovy/lib/groovy-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/Groovy/lib/groovy-rt-constants.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/eclipse/lib/eclipse-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/eclipse/lib/common-eclipse-util.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/maven/lib/maven-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/maven/lib/aether-dependency-resolver.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/maven/lib/aether-1.1.0-all.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/maven/lib/maven-aether-provider-3.3.9-all.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/maven/lib/plexus-utils-2.0.6.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/aspectj/lib/aspectj-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/gradle/lib/gradle-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/JavaEE/lib/javaee-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/javaFX/lib/javaFX-jps-plugin.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 49234 132d071e-3885-4739-a1f2-008df4bbb0d0 C:/Users/lanbin.UT/.IntelliJIdea2017.1/system/compile-server
Build process started. Classpath: D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/jps-launcher.jar;D:/tools/Java/jdk1.8.131/lib/tools.jar;D:/tools/JetBrains/idea/IntelliJ IDEA 2017.1.3/lib/optimizedFileManager.jarSLF4J: 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:49234; reason: Connection refused: no further information: /127.0.0.1:49234
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /127.0.0.1:49234 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 more
Exiting.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=64m; support was removed in 8.0
解决:网上找了很多回答都没用,比如把防火墙关掉,比如添加VM参数。最后的方案是:
把错误检查去掉,如图
网友评论