标签:sam href lips artifact ofo 3.0 group link for
在把EclipseLink从6.x升级到7.3的时候出现如下异常:java.lang.SecurityException: class "javax.persistence.Index"‘s signer information does not match signer information of other classes in the same package
从这里了解到这个bug在3.0才会修复,可是3.0目前还没有发布。
临时性解决办法就是排除默认依赖,降低javax.persistence
的版本,Maven配置如下:
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.7.3</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.persistence</groupId>
<artifactId>javax.persistence</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>javax.persistence</artifactId>
<version>2.1.1</version>
</dependency>
EclipseLink2.7出现java.lang.SecurityException异常
标签:sam href lips artifact ofo 3.0 group link for
原文地址:http://blog.51cto.com/13802307/2338418