IDEA build的时候报错:
Error:Abnormal build process termination:
D:\tools\Java\jdk1.8.131\bin\java -Xmx2048m -Djava.awt.headless=true -Djava.endorsed.dirs="" -Djdt.compiler.useSingleThread=true -Dpreload.project.path=E:/SmartCloud/CLOUD/basedata-1.0 -Dpreload.config.path=C:/Users/lanbin.UT/.IntelliJIdea2017.1/config/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=3416710214437510807 -XX:MaxPermSize=64m -dPoolExecutor.runWorker
...................
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)Caused by: java.net.ConnectException: Connection refused: no further information ... 15 more
Exiting.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=64m; support was removed in 8.0
解决:网上找了很多回答都没用,比如把防火墙关掉,比如添加VM参数。最后的方案是:
把错误检查去掉,如图