keycloak@postgresql built with poudriere and pkg installed on 13.1-RELEASE dependency openjdk8 is installed by the keycloak pkg When sending a test smtp email from the keycloak management interface the following error occurs: 2022-07-21 08:19:57,214 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-1) Uncaught server error: java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; Installing pkg openjdk18 seems to fix this error - but I have not tested many keycloak features yet to know if this is fully compatible. keycloak 15.1.1 is now significantly behind anyway (keycloak is up to 18) but I expected this version to work without having to install an additional openjdk version. Unable to uninstall openjdk8 without it removing keycloak-postgres Guidance not found in ports/UPDATING
Recent Keycloak versions do need at least OpenJDK 11. The dependencies will be fixed in the upcoming upgrade to v19.0.1, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265072 for details on this.
Julian, Do you still have the problem after the update to 19.0.1?
OP timeout after 11 days