Comments (3)
Only occurs with Java 17. It works with Java 11
from testcontainers-keycloak.
Thanks for reporting.
I just tried to reproduce this behavior, but unfortunately I can't enforce the same exception.
When reading your posted stacktrace, this happens when actually trying to copy the extension into the container. This is done via default Testcontainers methods, no special or separate implementation from my side here.
The exception I get - and that's expected - is a UnsupportedClassVersionException
during runtime/startup of the container. When the extension source is compiled with Java 17 and copied into the official default Keycloak container, which runs with Java 11, it won't work, of course.
from testcontainers-keycloak.
Closing this, as there was no further action in the last few months.
from testcontainers-keycloak.
Related Issues (20)
- Can't update from 1.9.0 to 2.5; Can't load realm HOT 1
- Support for withRealmImportFile for the Keycloak version 21.1.1 HOT 1
- Make compatible with new Jakarta packaging, rather than javax HOT 3
- Smtp support HOT 3
- Add support for verbose command line argument HOT 4
- WithProviderClassesFrom does not work with gradle. HOT 7
- Remote debugging Keycloak HOT 10
- Container doesn't start if I add a Realm file to upload HOT 2
- Dependency on quarkus-junit4-mock causes issues with projects actually depending on junit4 HOT 3
- Unable to use UserRepresentation HOT 4
- Extend the .withProviderClassesFrom() method to allow to specify multiple locations
- Tests regarding frontend-caching are failing HOT 1
- Ability to import realm from local file HOT 6
- Container marked as initialized before admin password is populated HOT 9
- Change truststore configuration
- java.nio.file.AccessDeniedException: /opt/keycloak/bin/../data/import/realm.json HOT 2
- rewrite cli options as envvars and add option to add custom cli arguments
- implement the new management interface for health and metrics endpoints
- Realm import: file is not handled HOT 2
- Add generics to the KeycloakContainer class HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testcontainers-keycloak.