我正在使用嵌入式tomcat7的spring boot v1.2.3
。在build.gradle
我有依赖项:
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
runtime 'org.eclipse.persistence:eclipselink:2.5.2'
此外,我对使用eclipse持久性v1.1.4
的jar有遗留依赖。
在运行时,会发生以下异常:
Cause: java.lang.SecurityException: class "org.eclipse.persistence.internal.jpa.deployment.PersistenceInitializationHelper"'s signer information does not match signer information of other classes in the same package
有没有在没有更新遗留代码中的eclipse.persistence的情况下解决这个问题?