报错信息:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean name ‘transactionInvocationHandler’ is already used in this element
Offending resource: class path resource [applicationContext.xml]
出现问题的原因:xml中两个bean的id相同
解决方案:将一个<>bean>的id修改就可以了
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bea
最新推荐文章于 2024-06-24 14:39:51 发布