我有我的数据库配置文件,如下所示
<?xml version="1.0" encoding="ISO-8859-1"?>
<Context name="env">
<Context name="jdbc">
<Resource name="testdb">
<Property name="driver">com.mysql.jdbc.Driver</Property>
<Property name="url">jdbc:mysql://localhost:3306/test_db/Property>
<Property name="username">test</Property>
<Property name="password">test</Property>
<Property name="read-only">false</Property>
<Property name="connect-timeout">5</Property>
<Property name="max-connections">50</Property>
<Property name="max-idle-time">1800</Property>
<Property name="max-life-time">7200</Property>
<Property name="max-wait-time">5000</Property>
<Property name="max-idle">2</Property>
</Resource>
</Context>
</Context>
尝试部署我的网络应用时遇到错误
2014-06-20 02:44:19 ERROR ContextLoader:331 - Context initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 3 in XML document from ServletContext resource [/WEB-INF/context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 21; cvc-elt.1: Cannot find the declaration of element 'Context'.
Caused by: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 21; cvc-elt.1: Cannot find the declaration of element 'Context'.
我正在使用弹簧4并导入所有弹簧4 xsd。 XMLNS 的xmlns:MVC 的xmlns:上下文 的xsi:的schemaLocation