<?xml version="1.0" encoding="utf-8" ?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
在applicationContext.xml中出现DescriptionResourcePathLocationType
解决办法:
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
或者
http://www.springframework.org/schema/beans/spring-beans
修改为:
http://www.springframework.org/schema/beans/spring-beans.xsd
就可以了。
文章转载来自:https://www.cnblogs.com/kuangyuping/p/3663200.html