当我适应了io.spring.platform:platform-bom:2.0.1.RELEASE'
结果,
Spring Data JPA从1.4.3.RELEASE升级到1.9.2.RELEASE
和Spring Data Common从1.6.3.RELEASE升级到1.11.2.RELEASE
现在,JBoss EAP 6.2在部署期间引发了以下抱怨
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'jpaContext': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.Set]: : No qualifying bean of type [javax.persistence.EntityManager] found for dependency [collection of javax.persistence.EntityManager]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {};
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [javax.persistence.EntityManager] found for dependency [collection of javax.persistence.EntityManager]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
构建环境
建造时间:2015-11-17 07:02:17 UTC 内部编号:无 修订版:b463d7980c40d44c4657dc80025275b84a29e31f
Groovy:2.4.4
Ant:2013年12月23日编译的Apache Ant(TM)版本1.9.3
JVM:1.7.0_60-ea(Oracle Corporation 24.60-b09)
操作系统:Windows 7 6.1 amd64
在这方面的任何帮助将受到高度赞赏。