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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zianY/article/details/79884469

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="*"> 的话 会有各种稀奇古怪的问题 还是好好写个自己能掌握的文件名吧

猜你喜欢

转载自blog.csdn.net/zianY/article/details/79884469