启动springboot报错:
Error starting ApplicationContext. To display the conditions report re-run your applic
由于springboot默认用8080端口,而8080端口已经被其他程序占用
cmd输入 netstat -aon|findstr 8080 来查看端口号是否被使用
cmd输入 taskkill -f -pid 15964 终止该进程
再次运行springboot不再报错,正常运行
(注:当无法结束进程时,用powershell输入 “get-process 进程名” 获取进程,然后再重新
taskkill /PID 进程码 /F 结束进程