0
点赞
收藏
分享

微信扫一扫

error starting applicationcontext. to display the conditions report re-run y完美解决


Error starting ApplicationContext. To display the conditions report re-run y

1、加conponent注解

今天在启动springboot项目的时候出现了这个问题,那么该怎么解决呢,因为我在controller层下的这个类用的是rescontroller注解,然后没有加conponent注解,然后我就加上去试了一下,发现完美解决,程序正常启动

error starting applicationcontext. to display the conditions report re-run y完美解决_ide

 

希望对你们有所帮助,加上注解重启就能解决。

2、如果用idea软件的小伙伴,解决方法:管理员身份打开idea

用以上两种方法error starting applicationcontext. to display the conditions report re-run y完美解决咯。

举报

相关推荐

Error starting ApplicationContext.

0 条评论