class path resource [org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] cann

idea 运行maven 项目 

报错;class path resource [org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] cannot be opened because it does not exist


翻译:类路径资源[org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] 无法打开,因为不存在。


修改方法




<!--扫描所有的组件-->

<context:component-scanbase-package="com.*">

<context:exclude-filtertype="annotation"expression="org.springframework.stereotype.Controller"/>

</context:component-scan>


跟前一篇情况类似

低级错误 扫描只写<context:component-scanbase-package="*"> 的话 会有各种稀奇古怪的问题 还是好好写个自己能掌握的文件名吧

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值