使用idea工具启动tomcat服务器报错:

Error:Abnormal build process termination: 
Build process started. Classpath: /C:/Program Files (x86)/JetBrains/IntelliJ IDEA 15.0.2/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_25/lib/tools.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 15.0.2/lib/optimizedFileManager.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 15.0.2/lib/ecj-4.4.jar
Error connecting to 127.0.0.1:50770; reason: Address already in use: no further information: /127.0.0.1:50770
java.net.SocketException: Address already in use: no further information: /127.0.0.1:50770
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
    at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:225)
    at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:527)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:467)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:381)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:42)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Exiting.

打开防火墙设置,找到

clipboard.png

在windows的“允许应用通过widows防火墙”中勾选“Java(TM) Platform SE binary”,保存,重启


秃头盘
120 声望46 粉丝

静己思过