首页 新闻 会员 周边 捐助

intellij软件,前期就对的代码编译错误,全部都编译错误怎么解决?

0
悬赏园豆:5 [已关闭问题] 关闭于 2018-01-05 09:40

我之前编的代码,如

public class exercise
{
    public static void main(String[] args)
    {
        System.out.println("帮忙");
    }
}
都显示

Error:Abnormal build process termination: 
"C:\Program Files\Java\jdk1.8.0_92\bin\java" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true "-Dpreload.project.path=D:/IntelliJ lDEA" -Dpreload.config.path=C:/Users/asus/.IntelliJIdea2017.2/config/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=-9073182167039072781 -Dfile.encoding=GBK -Djps.file.types.component.name=FileTypeManager -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2017.2 "-Didea.home.path=D:\IntelliJ IDEA 2017.2.5" -Didea.config.path=C:\Users\asus\.IntelliJIdea2017.2\config -Didea.plugins.path=C:\Users\asus\.IntelliJIdea2017.2\config\plugins -Djps.log.dir=C:/Users/asus/.IntelliJIdea2017.2/system/log/build-log "-Djps.fallback.jdk.home=D:/IntelliJ IDEA 2017.2.5/jre64" -Djps.fallback.jdk.version=1.8.0_152-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/asus/.IntelliJIdea2017.2/system/compile-server/intellij_ldea_d6f6c3a0/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation.experimental=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\asus\AppData\Local\Temp\kotlin-idea-1725541263498242649-is-running\" -classpath "D:/IntelliJ IDEA 2017.2.5/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_92/lib/tools.jar;D:/IntelliJ IDEA 2017.2.5/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "D:/IntelliJ IDEA 2017.2.5/lib/nanoxml-2.2.3.jar;D:/IntelliJ IDEA 2017.2.5/lib/jps-builders-6.jar;D:/IntelliJ IDEA 2017.2.5/lib/protobuf-2.5.0.jar;D:/IntelliJ IDEA 2017.2.5/lib/aether-dependency-resolver.jar;D:/IntelliJ IDEA 2017.2.5/lib/httpclient-4.5.2.jar;D:/IntelliJ IDEA 2017.2.5/lib/commons-logging-1.2.jar;D:/IntelliJ IDEA 2017.2.5/lib/javac2.jar;D:/IntelliJ IDEA 2017.2.5/lib/idea_rt.jar;D:/IntelliJ IDEA 2017.2.5/lib/maven-aether-provider-3.3.9-all.jar;D:/IntelliJ IDEA 2017.2.5/lib/httpcore-4.4.5.jar;D:/IntelliJ IDEA 2017.2.5/lib/jgoodies-forms.jar;D:/IntelliJ IDEA 2017.2.5/lib/slf4j-api-1.7.10.jar;D:/IntelliJ IDEA 2017.2.5/lib/jdom.jar;D:/IntelliJ IDEA 2017.2.5/lib/jps-model.jar;D:/IntelliJ IDEA 2017.2.5/lib/jna.jar;D:/IntelliJ IDEA 2017.2.5/lib/netty-all-4.1.10.Final.jar;D:/IntelliJ IDEA 2017.2.5/lib/openapi.jar;D:/IntelliJ IDEA 2017.2.5/lib/annotations.jar;D:/IntelliJ IDEA 2017.2.5/lib/jps-builders.jar;D:/IntelliJ IDEA 2017.2.5/lib/aether-1.1.0-all.jar;D:/IntelliJ IDEA 2017.2.5/lib/log4j.jar;D:/IntelliJ IDEA 2017.2.5/lib/resources_en.jar;D:/IntelliJ IDEA 2017.2.5/lib/snappy-in-java-0.5.1.jar;D:/IntelliJ IDEA 2017.2.5/lib/jna-platform.jar;D:/IntelliJ IDEA 2017.2.5/lib/asm-all.jar;D:/IntelliJ IDEA 2017.2.5/lib/forms_rt.jar;D:/IntelliJ IDEA 2017.2.5/lib/util.jar;D:/IntelliJ IDEA 2017.2.5/lib/oromatcher.jar;D:/IntelliJ IDEA 2017.2.5/lib/commons-codec-1.9.jar;D:/IntelliJ IDEA 2017.2.5/lib/trove4j.jar;;D:/IntelliJ IDEA 2017.2.5/plugins/ant/lib/ant-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/devkit/lib/devkit-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Groovy/lib/groovy-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Groovy/lib/groovy-rt-constants.jar;D:/IntelliJ IDEA 2017.2.5/plugins/eclipse/lib/eclipse-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/eclipse/lib/common-eclipse-util.jar;D:/IntelliJ IDEA 2017.2.5/plugins/maven/lib/maven-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/maven/lib/plexus-utils-2.0.6.jar;D:/IntelliJ IDEA 2017.2.5/plugins/osmorc/lib/osmorc-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/osmorc/lib/bndlib-3.3.0.jar;D:/IntelliJ IDEA 2017.2.5/plugins/osmorc/lib/bnd-repository-3.3.0.jar;D:/IntelliJ IDEA 2017.2.5/plugins/osmorc/lib/bnd-resolve-3.3.0.jar;D:/IntelliJ IDEA 2017.2.5/plugins/osmorc/lib/plexus-utils-3.0.10.jar;D:/IntelliJ IDEA 2017.2.5/plugins/osmorc/lib/bundlor-all.jar;D:/IntelliJ IDEA 2017.2.5/plugins/aspectj/lib/aspectj-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/flex/lib/flex-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/flex/lib/flex-shared.jar;D:/IntelliJ IDEA 2017.2.5/plugins/gradle/lib/gradle-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/JavaEE/lib/javaee-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/dmServer/lib/dmServer-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/GwtStudio/lib/gwt-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Grails/lib/grails-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Grails/lib/grails-compiler-patch.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Kotlin/lib/kotlin-runtime.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Kotlin/lib/kotlin-reflect.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Kotlin/lib/kotlin-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Kotlin/lib/android-extensions-ide.jar;D:/IntelliJ IDEA 2017.2.5/plugins/Kotlin/lib/android-extensions-compiler.jar;D:/IntelliJ IDEA 2017.2.5/plugins/javaFX/lib/javaFX-jps-plugin.jar;D:/IntelliJ IDEA 2017.2.5/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 56245 499b24b1-c758-446e-88df-398b43da1216 C:/Users/asus/.IntelliJIdea2017.2/system/compile-server
Build process started. Classpath: D:/IntelliJ IDEA 2017.2.5/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_92/lib/tools.jar;D:/IntelliJ IDEA 2017.2.5/lib/optimizedFileManager.jarSLF4J: 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:56245; 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:52)
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:498)
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:175)
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:173)
... 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:454)
at sun.nio.ch.Net.connect(Net.java:446)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
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.

 


 

怎么解决?

迷途行者的主页 迷途行者 | 菜鸟二级 | 园豆:202
提问于:2018-01-04 19:19
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册