Skip to content
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

Java version error #8

Closed
SrMouraSilva opened this issue May 15, 2020 · 4 comments
Closed

Java version error #8

SrMouraSilva opened this issue May 15, 2020 · 4 comments

Comments

@SrMouraSilva
Copy link

SrMouraSilva commented May 15, 2020

When I try to use this library on Java 8, appears the following code:

com/c4_soft/springaddons/security/oauth2/test/annotations/keycloak/WithMockKeycloakAuth$Factory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
java.lang.UnsupportedClassVersionError: com/c4_soft/springaddons/security/oauth2/test/annotations/keycloak/WithMockKeycloakAuth$Factory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I'm using com.c4-soft.springaddons:spring-security-oauth2-test-webmvc-addons:2.1.0

Please, release a Java 8 compatible ou informs in somewhere that it works only with Java 11.

@ch4mpy
Copy link
Owner

ch4mpy commented May 15, 2020

#6.

Java 8 was released more than 6 years ago and I use collections API improvements.

I suggest you bump your Java version.

@ch4mpy ch4mpy closed this as completed May 15, 2020
@SrMouraSilva
Copy link
Author

So please put into Readme the minimum required version of java

@ch4mpy
Copy link
Owner

ch4mpy commented May 15, 2020

<java.version>11</java.version>

@SrMouraSilva
Copy link
Author

Ok, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants