New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while Mocking EntityManager #914

Open
simbuatgit opened this Issue Sep 19, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@simbuatgit

simbuatgit commented Sep 19, 2018

Issue description

java.lang.SecurityException: class "javax.persistence.EntityManager"'s signer information does not match signer information of other classes in the same package

How to reproduce

Mocking EntityManger creating this problem. javax.persistence-2.2.0.jar and eclipselink-2.7.1.jar is being used

Link to a gist or similar (optional)

Additional Environment information

Jdk8,

Java/JDK

java version "1.8.0_151"

Groovy version

2.4.9

Build tool version

Gradle

Gradle 4.10

Operating System

Windows

IDE

Eclipse

Build-tool dependencies used

Gradle/Grails

 testCompile(group: 'org.spockframework', name: 'spock-core', version:'1.1-groovy-2.4') 
@leonard84

This comment has been minimized.

Show comment
Hide comment
@leonard84

leonard84 Sep 20, 2018

Member

Please try spock-1.2-RC3 with ByteBuddy

Member

leonard84 commented Sep 20, 2018

Please try spock-1.2-RC3 with ByteBuddy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment