IntelliJ Idea解决Could not autowire. No beans of ‘xxxx‘ type found的错误提示

雷亚荣

关注

阅读 140

2022-02-17

SpringMVC整合的时候:

一共两种可能 翻遍了所有的帖子。

一、注解没有写,service层多看看

二、包扫描名字写错!我就是坑在这儿

还有,看到Autowired报错千万别放过!!! 有可能有大问题。

精彩评论(0)

0 0 举报