idea tomcat启动失败

zealot。 发布于 2018/04/03 10:07
阅读 761
收藏 0

tomcat启动就出现这个错误, 什么工程都没有加入, 就只是单独启动tomcat.有没有遇到过这个错误的?

 

Error:Abnormal build process termination: 
"C:\Program Files\Java\jdk-9.0.4\bin\java" -Xmx700m -Djava.awt.headless=true -Djdt.compiler.useSingleThread=true -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=-4899113897481572764 -Dfile.encoding=GBK -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2018.1 -Didea.home.path=E:\jetbrains\apps\IDEA-U\ch-0\181.4203.550 -Didea.config.path=D:/Personal/Documents/.IntelliJIdea/config -Didea.plugins.path=D:/Personal/Documents/.IntelliJIdea/config\plugins -Djps.log.dir=D:/Personal/Documents/.IntelliJIdea/system/log/build-log -Djps.fallback.jdk.home=E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/jre64 -Djps.fallback.jdk.version=1.8.0_152-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=D:/Personal/Documents/.IntelliJIdea/system/compile-server/pdcsite_fc0c8d81/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\quiet\AppData\Local\Temp\kotlin-idea-5140786700392854691-is-running\" -classpath "E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jps-launcher.jar;C:/Program Files/Java/jdk-9.0.4/lib/tools.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jgoodies-forms.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/maven-aether-provider-3.3.9-all.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/netty-all-4.1.13.Final.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/protobuf-java-3.0.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/httpcore-4.4.5.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/util.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jps-builders-6.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/idea_rt.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/aether-1.1.0-all.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jps-model.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/aether-dependency-resolver.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jna.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jdom.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/annotations.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/lz4-java-1.3.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/resources_en.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/slf4j-api-1.7.10.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jna-platform.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/nanoxml-2.2.3.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/asm-all.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/guava-21.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/commons-codec-1.9.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/oro-2.0.8.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/platform-api.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/snappy-in-java-0.5.1.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/httpclient-4.5.2.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/trove4j.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jps-builders.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/javac2.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/forms_rt.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/log4j.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/commons-logging-1.2.jar;;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/gson-2.8.2.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/jarutils.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/guava-21.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/android-base-common.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/gradle/lib/gradle-api-4.4.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/gson-2.8.2.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/jarutils.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/guava-21.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/android-base-common.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/gradle/lib/gradle-api-4.4.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Groovy/lib/groovy-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Groovy/lib/groovy-rt-constants.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/eclipse/lib/eclipse-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/eclipse/lib/common-eclipse-util.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/maven/lib/maven-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/maven/lib/plexus-utils-2.0.6.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/osmorc/lib/osmorc-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/osmorc/lib/bndlib-3.3.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/osmorc/lib/bnd-repository-3.3.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/osmorc/lib/bnd-resolve-3.3.0.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/osmorc/lib/plexus-utils-3.0.10.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/osmorc/lib/bundlor-all.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/aspectj/lib/aspectj-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/flex/lib/flex-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/flex/lib/flex-shared.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/gradle/lib/gradle-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/devkit/lib/devkit-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/JavaEE/lib/javaee-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/GwtStudio/lib/gwt-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Grails/lib/grails-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Grails/lib/grails-compiler-patch.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/jps/android-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/android-common.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/build-common.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/android-rt.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/sdk-common.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/repository.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/sdklib.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/android-base-common.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/jarutils.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/layoutlib-api.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/android/lib/manifest-merger.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Kotlin/lib/kotlin-stdlib.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Kotlin/lib/kotlin-reflect.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Kotlin/lib/kotlin-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Kotlin/lib/android-extensions-ide.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/Kotlin/lib/android-extensions-compiler.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/javaFX/lib/javaFX-jps-plugin.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/plugins/javaFX/lib/common-javaFX-plugin.jar org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 50469 fedc7faf-41be-4dd5-a7cf-410b391529e7 D:/Personal/Documents/.IntelliJIdea/system/compile-server
Build process started. Classpath: E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/lib/jps-launcher.jar;C:/Program Files/Java/jdk-9.0.4/lib/tools.jar;E:/jetbrains/apps/IDEA-U/ch-0/181.4203.550/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:50469; 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.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
    at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:77)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:59)
    at org.jetbrains.jps.cmdline.BuildMain.main(BuildMain.java:91)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.jetbrains.jps.cmdline.Launcher.main(Launcher.java:58)
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)
    ... 12 more
Caused by: java.io.IOException: Unable to establish loopback connection
    at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94)
    at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171)
    at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
    at java.base/java.nio.channels.Pipe.open(Pipe.java:155)
    at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127)
    at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
    at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173)
    ... 16 more
Caused by: java.net.ConnectException: Connection timed out: connect
    at java.base/sun.nio.ch.Net.connect0(Native Method)
    at java.base/sun.nio.ch.Net.connect(Net.java:454)
    at java.base/sun.nio.ch.Net.connect(Net.java:446)
    at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
    at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194)
    at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127)
    at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)
    ... 24 more
Exiting.

加载中
1
Ryan-瑞恩
Ryan-瑞恩

1. 关闭本地防火墙;

2. 查看是否有  360 等其他软件阻止访问 IO 的软件;

3. 第1、2种没解决的话,查看本地  cat /etc/hosts 是否配置有 127.0.0.1    localhost

zealot。
zealot。
好了, 防火墙的问题
0
我家电脑卡

tomcat有这个io.netty.util.concurrent.MultithreadEventExecutorGroup类么?

0
kakai
kakai

直接启动tomcat会报错吗?不在idea中启动

返回顶部
顶部