上图就是在进行IDEA项目启动过程中报的错误,错误原文如下:
Error:Abnormal build process termination:
"C:\Program Files\Java\jdk1.8.0_65\bin\java" -Xmx400m -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=-2273080828465265735 -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.5" -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.5/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/ifds_c63d8c5c/_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-3487925352070637374-is-running\" -classpath "C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_65/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jps-builders.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/util.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/resources_en.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/idea_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/log4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jgoodies-forms.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/javac2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jna-platform.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/snappy-in-java-0.5.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/openapi.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/forms_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/netty-all-4.1.9.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/protobuf-2.5.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jna.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/asm-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/trove4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/annotations.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jps-builders-6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jps-model.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/nanoxml-2.2.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/jdom.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/oromatcher.jar;;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/commons-io-2.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/commons-lang-2.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-base-services-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-base-services-groovy-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-cli-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-core-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-logging-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-messaging-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-model-core-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-model-groovy-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-native-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-process-services-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-resources-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-tooling-api-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-tooling-extension-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-tooling-extension-impl.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-version-info-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-wrapper-3.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/guava-jdk5-17.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/jansi-1.14.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/kryo-2.22.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/minlog-1.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-freebsd-amd64-libcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-freebsd-amd64-libstdcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-freebsd-i386-libcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-freebsd-i386-libstdcpp-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-linux-amd64-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-linux-amd64-ncurses5-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-linux-amd64-ncurses6-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-linux-i386-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-linux-i386-ncurses5-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-linux-i386-ncurses6-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-osx-amd64-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-osx-i386-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-windows-amd64-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/native-platform-windows-i386-0.12.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/objenesis-1.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/reflectasm-1.07.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/resources_en.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/lib/gson-2.5.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/devkit/lib/devkit-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Groovy/lib/groovy-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Groovy/lib/groovy-rt-constants.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/eclipse/lib/eclipse-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/eclipse/lib/common-eclipse-util.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/maven/lib/aether-dependency-resolver.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/maven/lib/aether-1.1.0-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/maven/lib/maven-aether-provider-3.3.9-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/maven/lib/plexus-utils-2.0.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/osmorc/lib/osmorc-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/osmorc/lib/bndlib-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/osmorc/lib/bnd-repository-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/osmorc/lib/bnd-resolve-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/osmorc/lib/plexus-utils-3.0.10.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/osmorc/lib/bundlor-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/aspectj/lib/aspectj-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/flex/lib/flex-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/flex/lib/flex-shared.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/gradle/lib/gradle-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/JavaEE/lib/javaee-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/dmServer/lib/dmServer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/GwtStudio/lib/gwt-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Grails/lib/grails-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Grails/lib/grails-compiler-patch.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/jps/android-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/jps/android-gradle-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/android-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/android-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/sdk-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/repository.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/sdklib.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/layoutlib-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/android/lib/manifest-merger.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Kotlin/lib/kotlin-runtime.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Kotlin/lib/kotlin-reflect.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Kotlin/lib/kotlin-android-extensions-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2017.1.5/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 60576 7cf40b10-511a-48a7-a9f8-58ea310a03b8 C:/Users/Administrator/.IntelliJIdea2017.1/system/compile-server
该问题整整困扰了我一天,百度后有人说是防火墙的问题,有人说是JDK不对需要卸载重装,有人说是端口被占用了。请注意,这里的错误没有任何程序级别错误,都是应用级别的,根本就跟端口是否占用没有关系,真正的原因是我安装了公司的沙盒软件,全名叫做SDC重型客户端,当时默认策略没有任何权限导致的。后来变更了有权限的策略以后就可以正常运行了。如果跟我有相同遭遇的人士,请注意是否安装了一些加密类的软件。