请教spring的dtd问题
我的工程启动的时候总是报
org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
用的是spring 2.x
配置文件是这么写的
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="tagAction" class="TagAction" scope="prototype">
<property name="tagDao" ref="tagDao" />
</bean>
</beans>
怎么回事?
------解决方案--------------------
给你几个网址都说有spring 1.x 的jar
http://forum.springframework.org/showthread.php?t=37877
http://forum.springframework.org/showthread.php?t=41679