org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Config

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean name 'test' is already used in this file.
----把spring 中的nama 去掉就行了

报错:
Caused by: javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@87816d] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces

解决:加入两个jar包:servlet-api.jar、servlet-api.jar

你可能感兴趣的:(bean)