我的单元测试发生了一些错误
错误:异常构建过程终止:
/usr/local/java/jdk1.8.0_131/bin/java -Xmx700m
-Djava.awt.headless = true
-Djava。 endorsed.dirs = \" \"
-Djdt.compiler.useSingleThread = true
-Dcompile.parallel = true
-Drebuild.on.dependency.change = true
-Djava.net.preferIPv4Stack = true
-Dio.netty.initialSeedUniquifier=9159152397168206635
-Dfile.encoding = UTF-8
-Djps.file.types.component.name = FileTypeManager -Duser.language = zh
-Duser .country = CN
-Didea.paths.selector = IntelliJIdea2017.1
-Didea.home.path = / media / chengtong / working / idea-IU-171.4249.39
-Didea。 config.path = / home / chengtong / .IntelliJIdea2017.1 / config
-Didea.plugins.path = / home / chengtong / .IntelliJIdea2017.1 / config / plugins
-Djps.log.dir = /home/chengtong/.IntelliJIdea2017.1/system/log/build-log
-Djps.fallback.jdk.home = / media / chengtong / working / idea-IU-171.4249.39 / jre64
-Djps.fallback.jdk.version = 1.8.0_112-release -Dio.netty.noUnsafe = true
-Djava.io.tmpdir = / home / chengtong / .IntelliJIdea2017.1 / system / compile-server / afbp -full_9c7b9e / temp
-Djps.backward.ref.index.builder = true -Dkotlin.incremental.compilation.experim ental = true
-Dkotlin.daemon.enabled
-Dkotlin.daemon.client.alive.path = \" / tmp / kotlin-idea-8238456638674147489-is-running \" -classpath /media/chengtong/working/idea-IU-171.4249.39/lib/jps-launcher.jar:/usr/local/java/jdk1.8.0_131/lib/tools.jar:/media/chengtong/working/ idea-IU-171.4249.39 / lib / optimizedFileManager.jar org.jetbrains.jps.cmdline.Launcher /media/chengtong/working/idea-IU-171.4249.39/lib/jdom.jar:/media/chengtong/working/ IDEA-IU-171.4249.39 / lib目录/ annotations.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/util.jar:/media/chengtong/working/idea-IU-171.4249.39/ LIB / JPS-建设者-6.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/protobuf-2.5.0.jar:/media/chengtong/working/idea-IU-171.4249.39/ LIB / ASM-all.jar在:/media/chengtong/working/idea-IU-171.4249.39/lib/oromatcher.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/jna-platform。罐子:/media/chengtong/working/idea-IU-171.4249.39/lib/log4j.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/openapi.jar:/媒体/诚通/工作/idea-IU-171.4249.39/lib/jgoodies-forms.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/jna.jar:/media/chengtong/w工作会有/ IDEA-IU-171.4249.39 / lib目录/网状 - 全4.1.9.Final.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/nanoxml-2.2.3.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 / lib目录/ JPS-model.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/trove4j.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 / lib目录/ resources_en.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/idea_rt.jar:/media/chengtong/working/idea-IU-171.4249.39/ LIB / javac2.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/jps-builders.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/snappy-in- Java的0.5.1.jar :: /媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/ gradle产出/ lib目录/ gradle这个模型的核心-3.3.jar:/媒体/诚通/工作/ IDEA-IU -171.4249.39 /插件/ gradle产出/ lib中/本机平台的Linux AMD64的ncurses5-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-base-服务-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-core-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/ PL ugins / gradle产出/ lib目录/ gradle这个日志记录-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/reflectasm-1.07.jar:/媒体/诚通/工作/ idea- IU-171.4249.39 /插件/ gradle产出/ lib目录/本地平台-OSX-i386-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-wrapper-3.3的.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/minlog-1.2.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib /native-platform-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-tooling-api-3.3.jar:/media/chengtong/working/idea-IU -171.4249.39 /插件/ gradle产出/ lib目录/ objenesis-1.2.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-base-services-groovy-3.3.jar: /media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform-windows-amd64-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/ gradle产出/ lib目录/公地郎2.6.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/li B /本机平台的Linux-I386-ncurses6-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform-freebsd-amd64-libcpp-0.12.jar :/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/guava-jdk5-17.0.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib /gradle-model-groovy-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-tooling-extension-api.jar:/media/chengtong/working/idea -Iu-171.4249.39 /插件/ gradle产出/ lib目录/ KRYO-2.22.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-jps-plugin.jar:/媒体/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-messaging-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-平台的Linux-i386-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform-osx-amd64-0.12.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/ gradle产出/ lib目录/ gradle这个-工具扩展-impl.jar文件:/媒体/诚通/ WOR王/ IDEA-IU-171.4249.39 /插件/ gradle产出/ lib目录/ gradle这个版本-INFO-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-native -3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform-linux-i386-ncurses5-0.12.jar:/媒体/诚通/工作/ IDEA-IU -171.4249.39 /插件/ gradle产出/ lib中/本机平台的Linux AMD64的ncurses6-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform- Linux的amd64-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/ gradle产出/ lib目录/ jansi-1.14.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-process-services-3.3.jar:/媒体/诚通/工作/ idea- IU-171.4249.39 /插件/ gradle产出/ lib目录/ gradle这个-CLI-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform-freebsd-amd64-libstdcpp -0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platf ORM-的freebsd-I386-libcpp-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native-platform-windows-i386-0.12.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/ gradle产出/ lib中/ resources_en.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/commons-io-2.2.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/ gradle产出/ lib目录/ gradle这个资源-3.3.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/native -platform-的FreeBSD-I386-libstdcpp-0.12.jar:/media/chengtong/working/idea-IU-171.4249.39/lib/gson-2.5.jar:/media/chengtong/working/idea-IU-171.4249.39 /plugins/android/lib/jarutils.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/ant/lib/ant-jps-plugin.jar:/media/chengtong/working/idea-IU -171.4249.39 /插件/的devkit / lib中/的devkit-JPS-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin。罐子:/media/chengtong/working/idea-IU-171.4249.39/plugins/IntelliLang/lib/intellilang-jps-plugin.jar :/media/chengtong/working/idea-IU-171.4249.39/plugins/Groovy/lib/groovy-jps-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/Groovy/lib /groovy-rt-constants.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/eclipse/lib/eclipse-jps-plugin.jar:/media/chengtong/working/idea-IU-171.4249 0.39 /插件/蚀/ LIB /共蚀-util.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/maven/lib/maven-jps-plugin.jar:/媒体/成通/working/idea-IU-171.4249.39/plugins/maven/lib/aether-dependency-resolver.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/maven/lib/aether-1.1。 0-all.jar在:/media/chengtong/working/idea-IU-171.4249.39/plugins/maven/lib/maven-aether-provider-3.3.9-all.jar:/媒体/诚通/工作/ idea- IU-171.4249.39 /插件/ Maven的/ lib目录/丛-utils的-2.0.6.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/aspectj/lib/aspectj-jps-plugin.jar :/media/chengtong/working/idea-IU-171.4249.39/plugins/flex/lib/flex-jps-plugin.jar:/媒体/诚通/工作/想法,我U型171.4249.39 /插件/柔性/ lib目录/柔性shared.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/gradle/lib/gradle-jps-plugin.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/ JavaEE的/ lib目录/ JavaEE的-JPS-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/JavaEE/lib/jps/jpa -jps-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar:/media/chengtong/working/idea-IU-171.4249 0.39 /插件/ weblogicIntegration / LIB / JPS / WebLogic的JPS-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/android/lib/jps/android-jps-plugin.jar: /media/chengtong/working/idea-IU-171.4249.39/plugins/android/lib/jps/android-gradle-jps.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/android/ LIB / Android的common.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/android/lib/android-rt.jar:/media/chengtong/working/idea-IU-171.4249.39/插件/ Android的/ lib目录/ SDK-common.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/a ndroid / lib目录/ repository.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/android/lib/sdklib.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/ Android的/ lib目录/ common.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/android/lib/jarutils.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/ Android的/ lib目录/ layoutlib-api.jar文件:/media/chengtong/working/idea-IU-171.4249.39/plugins/android/lib/manifest-merger.jar:/media/chengtong/working/idea-IU-171.4249。 39 /插件/科特林/ lib中/ JPS /科特林-JPS-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/Kotlin/lib/kotlin-runtime.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/科特林/ lib目录/科特林-reflect.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/Kotlin/lib/kotlin-plugin.jar:/媒体/诚通/工作/ IDEA-IU-171.4249.39 /插件/科特林/ lib目录/科特林,Android系统的扩展 - plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/Kotlin/lib /kotlin-android-extensions-compiler-plugin.jar:/media/chengtong/working/id EA-IU-171.4249.39 /插件/ JavaFX的/ lib目录/ JavaFX的JPS-plugin.jar:/media/chengtong/working/idea-IU-171.4249.39/plugins/javaFX/lib/common-javaFX-plugin.jar org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 34137 6e1570e8-8b38-43ef-a9e9-5250076fbfbb /home/chengtong/.IntelliJIdea2017.1/system/compile-server构建过程已启动。 Classpath:/media/chengtong/working/idea-IU-171.4249.39/lib/jps-launcher.jar:/usr/local/java/jdk1.8.0_131/lib/tools.jar:/media/chengtong/working/ idea-IU-171.4249.39 / lib / optimizedFileManager.jarSLF4J:无法加载类" org.slf4j.impl.StaticLoggerBinder"。 SLF4J:默认为无操作(NOP)记录器实现SLF4J:有关更多详细信息,请参阅http://www.slf4j.org/codes.html#StaticLoggerBinder。连接到127.0.0.1:34137时出错;原因:拒绝连接:/127.0.0.1:34137 io.netty.channel.AbstractChannel $ AnnotatedConnectException:拒绝连接:/127.0.0.1:34137 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)at sun.nio.ch .SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)在io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:352)在io.netty.channel.nio.AbstractNioChannel $ AbstractNioUnsafe.finishConnect(AbstractNioChannel.java :340)在io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:612)在io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559)在io.netty.channel.nio。 NioEventLoop.processSelectedKeys(NioEventLoop.java:476)在io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)在io.netty.util.concurrent.SingleThreadEventExecutor $ 5.run(SingleThreadEventExecutor.java:858)在java.util.conc上的org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda $ executeOnPooledThread $ 0(SharedThreadPoolImpl.java:42) urrent.Executors $ RunnableAdapter.call(Executors.java:511)java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java java.lang.Thread.run中的.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)(Thread.java:748)引起:java.net.ConnectException:拒绝连接... 15 moreExiting。
我通过禁用我的计算机防火墙解决了这个问题,但它再次发生了。 当我使用Windows 10操作系统时,它永远不会发生,现在我的电脑操作系统是Ubuntu16.04。
java版本" 1.8.0_131"
Java(TM)SE运行时环境(版本1.8.0_131-b11)
Java HotSpot(TM)64位服务器VM(内置25.131-b11,混合模式)
的
Intellij想法版本:
IntelliJ IDEA 2017.1.2 Build#IU-171.4249.39,建于2017年4月25日许可给chengtong