[3:50 PM] Hari Krishnan P Buildfile: C:\Users\2282108\Documents\Mendix\FlightApplication\deployment\build_core.xml compile: [javac] Compiling 354 source files to C:\Users\2282108\Documents\Mendix\FlightApplication\deployment\run\bin [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\SessionManager.java:11: error: package com.nimbusds.jwt does not exist [javac] import com.nimbusds.jwt.JWTClaimsSet; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:11: error: package com.nimbusds.jose does not exist [javac] import com.nimbusds.jose.JWSAlgorithm; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:12: error: package com.nimbusds.jwt does not exist [javac] import com.nimbusds.jwt.JWT; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:289: error: cannot find symbol [javac] private JWT getAndValidateIDToken(OIDCTokenResponse idTokenResponse, Nonce expectedNonce) { [javac] ^ [javac] symbol: class JWT [javac] location: class OpenIDHandler [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\oidp\IdentityProviderMetaDataCache.java:4: error: package com.nimbusds.jose does not exist [javac] import com.nimbusds.jose.JWSAlgorithm; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\TokenUtils.java:6: error: package com.nimbusds.jwt does not exist [javac] import com.nimbusds.jwt.JWT; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\TokenUtils.java:7: error: package com.nimbusds.jwt does not exist [javac] import com.nimbusds.jwt.JWTClaimsSet; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\TokenUtils.java:26: error: cannot find symbol [javac] public static JWTClaimsSet persistTokens(IContext context, OIDCTokenResponse oidcTokenResponse, User user, ISession session) throws CoreException, ParseException, java.text.ParseException { [javac] ^ [javac] symbol: class JWTClaimsSet [javac] location: class TokenUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:4: error: package com.nimbusds.jose.util does not exist [javac] import com.nimbusds.jose.util.JSONObjectUtils; [javac] ^ [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\SessionManager.java:48: error: cannot find symbol [javac] final JWTClaimsSet idTokenClaimsSet = [javac] ^ [javac] symbol: class JWTClaimsSet [javac] location: class SessionManager [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:220: error: cannot find symbol [javac] final JWT idToken = getAndValidateIDToken(idTokenResponse, expectedNonce); [javac] ^ [javac] symbol: class JWT [javac] location: class OpenIDHandler [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:290: error: cannot find symbol [javac] final JWT idToken = idTokenResponse.getOIDCTokens().getIDToken(); [javac] ^ [javac] symbol: class JWT [javac] location: class OpenIDHandler [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:297: error: cannot access ClockSkewAware [javac] .validate(idToken, expectedNonce); [javac] ^ [javac] class file for com.nimbusds.jwt.proc.ClockSkewAware not found [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:454: error: cannot find symbol [javac] JWSAlgorithm.RS256, [javac] ^ [javac] symbol: variable JWSAlgorithm [javac] location: class OpenIDHandler [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:451: error: cannot access JWSKeySelector [javac] new LogoutTokenValidator( [javac] ^ [javac] class file for com.nimbusds.jose.proc.JWSKeySelector not found [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:459: error: cannot find symbol [javac] final JWT logoutToken = backChannelLogoutRequest.getLogoutToken(); [javac] ^ [javac] symbol: class JWT [javac] location: class OpenIDHandler [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\oidp\IdentityProviderMetaDataCache.java:58: error: cannot find symbol [javac] JWSAlgorithm.RS256, [javac] ^ [javac] symbol: variable JWSAlgorithm [javac] location: class IdentityProviderMetaDataCache [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\oidp\IdentityProviderMetaDataCache.java:55: error: cannot access JWEKeySelector [javac] final IDTokenValidator idTokenValidator = new IDTokenValidator( [javac] ^ [javac] class file for com.nimbusds.jose.proc.JWEKeySelector not found [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\TokenUtils.java:49: error: cannot find symbol [javac] final JWT idTokenJWT = oidcTokenResponse.getOIDCTokens().getIDToken(); [javac] ^ [javac] symbol: class JWT [javac] location: class TokenUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:18: error: cannot find symbol [javac] final Map<String, Object> userInfoJSONObject = JSONObjectUtils.parse(userInfoJSON); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:23: error: cannot find symbol [javac] final Map<String, Object> mxProfileClaim = JSONObjectUtils.getJSONObject(userInfoJSONObject, MX_USER_PROFILE_V_1); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:30: error: cannot find symbol [javac] userProfile.setOpenId(JSONObjectUtils.getString(mxProfileClaim, "openid2_id")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:31: error: cannot find symbol [javac] userProfile.setDisplayName(JSONObjectUtils.getString(mxProfileClaim, "display_name")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:32: error: cannot find symbol [javac] userProfile.setAvatarThumbnailUrl(JSONObjectUtils.getString(mxProfileClaim, "avatar_thumb_url")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:33: error: cannot find symbol [javac] userProfile.setAvatarUrl(JSONObjectUtils.getString(mxProfileClaim, "avatar_url")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:34: error: cannot find symbol [javac] userProfile.setBio(JSONObjectUtils.getString(mxProfileClaim, "bio")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:35: error: cannot find symbol [javac] userProfile.setWebsite(JSONObjectUtils.getString(mxProfileClaim, "website")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:36: error: cannot find symbol [javac] userProfile.setEmailAddress(JSONObjectUtils.getString(mxProfileClaim, "email")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:37: error: cannot find symbol [javac] userProfile.setPhone(JSONObjectUtils.getString(mxProfileClaim, "phone_number")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:38: error: cannot find symbol [javac] userProfile.setJobTitle(JSONObjectUtils.getString(mxProfileClaim, "job_title")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:39: error: cannot find symbol [javac] userProfile.setDepartment(JSONObjectUtils.getString(mxProfileClaim, "job_department")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:40: error: cannot find symbol [javac] userProfile.setLocation(JSONObjectUtils.getString(mxProfileClaim, "location")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:41: error: cannot find symbol [javac] userProfile.setCountry(JSONObjectUtils.getString(mxProfileClaim, "country")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:42: error: cannot find symbol [javac] userProfile.setLinkedIn(JSONObjectUtils.getString(mxProfileClaim, "social_linkedin")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:43: error: cannot find symbol [javac] userProfile.setTwitter(JSONObjectUtils.getString(mxProfileClaim, "social_twitter")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:44: error: cannot find symbol [javac] userProfile.setSkype(JSONObjectUtils.getString(mxProfileClaim, "social_skype")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:45: error: cannot find symbol [javac] userProfile.setCompanyId(JSONObjectUtils.getString(mxProfileClaim, "company_id")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\utils\UserProfileUtils.java:46: error: cannot find symbol [javac] userProfile.setCompany(JSONObjectUtils.getString(mxProfileClaim, "company_name")); [javac] ^ [javac] symbol: variable JSONObjectUtils [javac] location: class UserProfileUtils [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 38 errors BUILD FAILED C:\Users\2282108\Documents\Mendix\FlightApplication\deployment\build_core.xml:40: Compile failed; see the compiler error output for details. Total time: 13 seconds
asked
Hari Krishnan
1 answers
0
“C:\Users\2282108\Documents\Mendix\FlightApplication\javasource\mendixsso\implementation\handlers\OpenIDHandler.java:12: error: package com.nimbusds.jwt does not exist”
It looks like you are missing a library. Please check your uselib directory for any old/duplicate jar files and delete those.
If that doesn’t work, please check if you have the latest version of the MendixSSO module implemented in your project.