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

[size=x-large]Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unnamed bean definition specifies neither 'class' nor 'parent' nor 'factory-bean' - can't generate bean name
Offending resource: class path resource [applicationContext.xml][/size]

原因是在:applicationContext.xml spring配置文件中多加了一对空标签

你可能感兴趣的:(spring)