spring boot eclipse链接安全异常

时间:2015-06-09 21:24:35

标签: java jpa spring-boot eclipselink

我正在使用嵌入式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的情况下解决这个问题?

0 个答案:

没有答案