草庐IT

XMLBeanDefinitionStoreException

全部标签

XMLBeanDefinitionStoreException : Cannot find the declaration of element 'beans'

我正在尝试以下代码:http://www.dineshonjava.com/2012/12/spring-mvc-with-hibernate-crud-example.html#.Uus0bvnoSGcsdnext-servlet.xml如下com.dineshonjava.model.Employee${hibernate.dialect}${hibernate.show_sql}${hibernate.hbm2ddl.auto}我遇到了异常org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:L

java - spring 中的 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException

org.hibernate.dialect.MySQLDialecttruecom.dineshonjava.model.Employee我是Spring的新人。我有org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:来自ServletContext资源[/WEB-INF/config/sdnext-servlet.xml]的XML文档中的第8行无效;嵌套异常是org.xml.sax.SAXParseException;行号:8;列数:120;cvc-elt.1:找不到元素“beans”的声明。在s