APPLICATION FAILED TO START
java在运行时报错:应用程序启动失败
错误如下:
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8011 was already in use.
Action:
Identify and stop the process that's listening on port 8011 or configure this application to listen on another port.
Process finished with exit code 1
解决方式:
开始---->运行---->cmd,或者是window+R组合键,调出命令窗口
命令:netstat -aon|findstr "8011"
、
列出端口的情况,查看到所有8011 占用的PID为都49720 就直接输入命令即可如有多个挨个杀死
命令:taskkill -F /pid "49720"