Error:Abnormal build process termination: ....... 找不到或无法加载主类 Djps.track.ap.dependencies=false

文章讲述了在使用IntelliJIDEA进行Java项目构建时遇到的异常,涉及可能的问题如JDK版本不一致、项目重构、缓存清理,以及检查Maven项目配置。解决方法包括检查JDK版本、重构项目和清理缓存等。
摘要由CSDN通过智能技术生成

Error:Abnormal build process termination: 
E:\Java\jdk1.8.0_91\bin\java.exe -Xmx900m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true -Dexternal.project.config=C:\Users\0.0\AppData\Local\JetBrains\IntelliJIdea2020.1\external_build_system\java-3-06.e33d8fb7 -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Dio.netty.initialSeedUniquifier=-2260448546358111036 Djps.track.ap.dependencies=false -Dfile.encoding=GBK -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2020.1 "-Didea.home.path=D:\idea\idea软件\IntelliJ IDEA 2020.1" -Didea.config.path=C:\Users\0.0\AppData\Roaming\JetBrains\IntelliJIdea2020.1 -Didea.plugins.path=C:\Users\0.0\AppData\Roaming\JetBrains\IntelliJIdea2020.1\plugins -Djps.log.dir=C:/Users/0.0/AppData/Local/JetBrains/IntelliJIdea2020.1/log/build-log "-Djps.fallback.jdk.home=D:/idea/idea软件/IntelliJ IDEA 2020.1/jbr" -Djps.fallback.jdk.version=11.0.6 -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/0.0/AppData/Local/JetBrains/IntelliJIdea2020.1/compile-server/java-3-06_cce1fbc0/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.incremental.compilation.js=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\0.0\AppData\Local\Temp\kotlin-idea-7086544951877645098-is-running\" -classpath "D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/jps-launcher.jar;E:/Java/jdk1.8.0_91/lib/tools.jar" org.jetbrains.jps.cmdline.Launcher "D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/protobuf-java-3.5.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/plexus-utils-3.2.0.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-resolver-provider-3.6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-model-builder-3.6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-artifact-3.6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/guava-28.2-jre.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/httpclient-4.5.12.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/annotations.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/netty-codec-4.1.47.Final.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/asm-all-7.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/maven-resolver-transport-http-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/jdom.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-builder-support-3.6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/commons-lang3-3.9.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/netty-common-4.1.47.Final.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/forms-1.1-preview.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-resolver-spi-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/nanoxml-2.2.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/httpcore-4.4.13.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/jna-platform.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/aether-dependency-resolver.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/oro-2.0.8.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/platform-api.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/idea_rt.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/commons-logging-1.2.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/plexus-component-annotations-1.7.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/log4j.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/netty-transport-4.1.47.Final.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/util.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-model-3.6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-resolver-api-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/netty-resolver-4.1.47.Final.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/resources_en.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/maven-resolver-transport-file-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/jna.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/jps-builders.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/qdox-2.0-M10.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-repository-metadata-3.6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/gson-2.8.6.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/jps-builders-6.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/maven-resolver-connector-basic-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-resolver-impl-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/maven-resolver-util-1.3.3.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/jps-model.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/trove4j.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/lz4-java-1.7.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/plexus-interpolation-1.25.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/slf4j-api-1.7.25.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/netty-buffer-4.1.47.Final.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/java/lib/javac2.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/JavaEE/lib/jasper-v2-rt.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/gson-2.8.6.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/jarutils.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/guava-28.2-jre.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/common-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/gradle/lib/gradle-api-6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/gson-2.8.6.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/jarutils.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/lib/guava-28.2-jre.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/common-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/gradle/lib/gradle-api-6.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/eclipse/lib/eclipse-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/eclipse/lib/common-eclipse-util.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/ant/lib/ant-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Groovy/lib/groovy-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Groovy/lib/groovy-rt-constants.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/maven/lib/maven-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/osmorc/lib/osmorc-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/osmorc/lib/biz.aQute.bndlib-5.0.0.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/osmorc/lib/biz.aQute.repository-5.0.0.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/osmorc/lib/biz.aQute.resolve-5.0.0.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/osmorc/lib/bundlor-all.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/aspectj/lib/aspectj-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/gradle-java/lib/gradle-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/javaFX/lib/javaFX-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/javaFX/lib/common-javaFX-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/devkit/lib/devkit-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/JavaEE/lib/javaee-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/flex/lib/flex-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/flex/lib/flex-shared.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/dmServer/lib/dmServer-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Grails/lib/grails-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Grails/lib/grails-compiler-patch.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/GwtStudio/lib/gwt-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Kotlin/lib/kotlin-stdlib.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Kotlin/lib/kotlin-reflect.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/Kotlin/lib/kotlin-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/jps/android-jps-plugin.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/android-common.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/build-common.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/android-rt.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/android-extensions-ide.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/sdk-common-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/common-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/repository-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/sdklib-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/jarutils.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/layoutlib-api-26.6.0.1.jar;D:/idea/idea软件/IntelliJ IDEA 2020.1/plugins/android/lib/manifest-merger-26.6.0.1.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 51494 b0b479c7-eaf3-48e1-ae0a-1b4e239fa8b7 C:/Users/0.0/AppData/Local/JetBrains/IntelliJIdea2020.1/compile-server
错误: 找不到或无法加载主类 Djps.track.ap.dependencies=false

###解决方法:

检查jdk版本是否一致

如果一致还是报错,那再重构一下项目

如果重构项目时继续报错,清空一下缓存

如果还是不行那看看是不是建立Maven项目时建错了

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值