`

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

阅读更多
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]


原因是在:applicationContext.xml    spring配置文件中多加了一对<bean></bean>空标签
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics