这是DOCTYPE
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd:/spring-beans.dtd">
这是beans里的配置
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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/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">
报错信息:
Multiple annotations found at this line:
- The content of element type "beans" must match "(description?,(import|alias| bean)*)".
- Attribute "xsi:schemaLocation" must be declared for element type "beans".
- Attribute "xmlns:xsi" must be declared for element type "beans".
- Attribute "xmlns" must be declared for element type "beans".
- Attribute "xmlns:tx" must be declared for element type "beans".
- Attribute "xmlns:aop" must be declared for element type "beans".
求大神,