IDEA抛出No bean named 'cacheManager' available解决方法

IDEA抛出No bean named 'cacheManager' available解决方法_第1张图片

(正确的,老师发我的)


http://www.springframework.org/schema/beans"
       xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="
http://www.springframework.org/schema/p"
       xmlns:context="
http://www.springframework.org/schema/context"
       xmlns:mvc="
http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="
http://www.springframework.org/schema/beans
        
http://www.springframework.org/schema/beans/spring-beans.xsd
        
http://www.springframework.org/schema/context
        
http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">

 

正确的配置文件是这个样子的(复制别人的)



xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd">







---------------------
作者:ripley_csdn
来源:CSDN
原文:https://blog.csdn.net/qq_23184291/article/details/78086398
版权声明:本文为博主原创文章,转载请附上博文链接!

IDEA抛出No bean named 'cacheManager' available解决方法_第2张图片

转载于:https://www.cnblogs.com/Koma-vv/p/10159572.html

你可能感兴趣的:(IDEA抛出No bean named 'cacheManager' available解决方法)