美文网首页
advised by org.springframework.t

advised by org.springframework.t

作者: 取名废同学 | 来源:发表于2018-12-20 23:43 被阅读0次

    在spring配置文件里配置全局的包扫描<context:component-scan base-package="我的包名" ></context:component-scan>,提示的是这一局的异常,解决其实很简单,只需要在这一句话后面添加一个use-default-filters="false">就可以了,变成<context:component-scan base-package="我的包名" use-default-filters="false"></context:component-scan>,这样双向箭头就消失了,异常也就消失了。

    image.png

    相关文章

      网友评论

          本文标题:advised by org.springframework.t

          本文链接:https://www.haomeiwen.com/subject/sgrpkqtx.html