其他分享
首页 > 其他分享> > AnnotationConfigApplicationContext ad has not been refreshed yet 报错

AnnotationConfigApplicationContext ad has not been refreshed yet 报错

作者:互联网

AnnotationConfigApplicationContext ad has not been refreshed yet 报错

踩坑,这个报错几次后,报错提示端口占用,但是服务明明没启动,也没有启动占用该端口的服务,更改端口后依然报错端口占用

可能是这样的,启动多次springboot项目后导致该springboot项目已经存在电脑内存中,idea上面关掉项目并不能杀死该程序

解决办法:cmd 查询电脑端口占用,找到占用该端口的程序pid杀死该程序。

标签:AnnotationConfigApplicationContext,ad,占用,端口,报错,yet,springboot
来源: https://www.cnblogs.com/lzcyx/p/15938495.html