Open afw8k opened 5 months ago
i am using Keycloak 23.0.7 getting this error [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.466 s [INFO] Finished at: 2024-04-14T20:51:07+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project IBMSecurityVerifyAuthenticators: Compilation failure: Compilation failure: [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/demo/IBMSecurityVerifyDemoLoginAuthenticator.java:[57,110] cannot access jakarta.ws.rs.core.MultivaluedMap [ERROR] class file for jakarta.ws.rs.core.MultivaluedMap not found [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/demo/IBMSecurityVerifyDemoLoginAuthenticator.java:[133,44] cannot access jakarta.ws.rs.core.Response [ERROR] class file for jakarta.ws.rs.core.Response not found [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/demo/IBMSecurityVerifyDemoLoginAuthenticator.java:[134,40] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/fido2/IBMSecurityVerifyFido2LoginAuthenticator.java:[53,58] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/fido2/IBMSecurityVerifyFido2LoginAuthenticator.java:[70,73] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/fido2/IBMSecurityVerifyFido2LoginAuthenticator.java:[74,69] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/fido2/IBMSecurityVerifyFido2LoginAuthenticator.java:[99,28] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/fido2/IBMSecurityVerifyFido2LoginAuthenticator.java:[100,32] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[51,66] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[75,69] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[83,32] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[84,31] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[92,52] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[93,43] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[96,73] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[112,44] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/qr/IBMSecurityVerifyQrLoginAuthenticator.java:[113,35] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/rest/FidoUtilities.java:[165,110] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/rest/FidoUtilities.java:[318,110] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[69,110] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[93,60] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[94,103] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[99,69] cannot find symbol [ERROR] symbol: method getAttribute(java.lang.String) [ERROR] location: interface org.keycloak.models.UserModel [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[113,68] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[114,59] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[129,68] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[130,59] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[143,68] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[148,61] cannot find symbol [ERROR] symbol: method getAttribute(java.lang.String) [ERROR] location: interface org.keycloak.models.UserModel [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[157,52] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[158,43] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[171,60] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[172,51] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[187,60] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[188,51] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/otp/IBMSecurityVerifyOtpLoginAuthenticator.java:[191,73] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/registration/IBMSecurityVerifyRegistrationRequiredActionAuthenticator.java:[49,110] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/registration/IBMSecurityVerifyRegistrationRequiredActionAuthenticator.java:[77,85] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/registration/IBMSecurityVerifyRegistrationRequiredActionAuthenticator.java:[84,89] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/registration/IBMSecurityVerifyRegistrationRequiredActionAuthenticator.java:[103,68] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/registration/IBMSecurityVerifyRegistrationRequiredActionAuthenticator.java:[104,59] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/registration/IBMSecurityVerifyRegistrationRequiredActionAuthenticator.java:[116,73] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/rest/FormUtilities.java:[27,28] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[47,58] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[52,60] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[73,32] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[74,31] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[79,32] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[80,36] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[82,65] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[114,40] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[115,39] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/verify/push/IBMSecurityVerifyPushNotificationLoginAuthenticator.java:[122,65] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/rest/IBMSecurityVerifyUtilities.java:[119,81] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/rest/IBMSecurityVerifyUtilities.java:[152,69] cannot find symbol [ERROR] symbol: method getUsers(org.keycloak.models.RealmModel) [ERROR] location: interface org.keycloak.models.UserProvider [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[49,110] incompatible types: jakarta.ws.rs.core.MultivaluedMap cannot be converted to javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[58,81] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[62,73] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[82,89] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[95,68] incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[96,59] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] /root/IBM/verify-keycloak-integration/IBMSecurityVerifyAuthenticators/src/main/java/com/ibm/security/verify/authenticator/webauthn/registration/IBMSecurityVerifyFidoRegistrationRequiredActionAuthenticator.java:[108,73] incompatible types: javax.ws.rs.core.Response cannot be converted to jakarta.ws.rs.core.Response [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
hey - are you just looking to test out IBM Security Verify?
we likely need to update the compatibility to the latest Keycloak as some things may have changed in the later Keycloak releases.
my email is mspatel@us.ibm.com - please send me an email and we can chat
Are the dependecies depricated?