tomcat发布时出现错误
2013-05-14 09:20:04 Loading XML bean definitions from file [D:\tomcat\apache-tomcat-6.0.33\webapps\Crm1\WEB-INF\classes\applicationContext-user-biz.xml]
2013-05-14 09:20:04 Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 4 in XML document from file [D:\tomcat\apache-tomcat-6.0.33\webapps\Crm1\WEB-INF\classes\applicationContext-user-biz.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".这是什么错误!!下面是spring和hibernate整合一起的配置文件<?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 ">
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName"
value="oracle.jdbc.driver.OracleDriver">
</property>
<property name="url"
value="jdbc:oracle:thin:@localhost:1521:orcl">
</property>
<property name="username" value="chenwang"></property>
<property name="password" value="sb"></property>
</bean>