Skip to content

Missing library in mendix 9.6 #8

@TJonkhoff

Description

@TJonkhoff

Hello Erwin,

Im trying to use your module in my app. And it worked for a while but then i got this error.
Its missing librarys how do i fix this? Could you please help.

Buildfile: D:\Mendix\Microservices Transport-main\deployment\build_core.xml

compile:
[javac] Compiling 209 source files to D:\Mendix\Microservices Transport-main\deployment\run\bin
[javac] D:\Mendix\Microservices Transport-main\javasource\loginweb\actions\DecodeJWT.java:36: error: package oidc.proxies does not exist
[javac] oidc.proxies.JWT mxJWT = new oidc.proxies.JWT(getContext());
[javac] ^
[javac] D:\Mendix\Microservices Transport-main\javasource\loginweb\actions\DecodeJWT.java:36: error: package oidc.proxies does not exist
[javac] oidc.proxies.JWT mxJWT = new oidc.proxies.JWT(getContext());
[javac] ^
[javac] D:\Mendix\Microservices Transport-main\javasource\loginweb\actions\DecodeJWTPlainText.java:36: error: cannot find symbol
[javac] return new String(Base64.getDecoder().decode(jwt.getPayload()));
[javac] ^
[javac] symbol: method getPayload()
[javac] location: variable jwt of type DecodedJWT
[javac] D:\Mendix\Microservices Transport-main\javasource\loginweb\actions\DecodeVerifyJWTPlainText.java:58: error: method RSA256 in class Algorithm cannot be applied to given types;
[javac] Algorithm algorithm = Algorithm.RSA256((RSAPublicKey) jwk.getPublicKey(), null);
[javac] ^
[javac] required: RSAKey
[javac] found: RSAPublicKey,
[javac] reason: actual and formal argument lists differ in length
[javac] D:\Mendix\Microservices Transport-main\javasource\loginweb\actions\DecodeVerifyJWTPlainText.java:69: error: incompatible types: com.auth0.jwt.JWTVerifier cannot be converted to com.auth0.jwt.interfaces.JWTVerifier
[javac] JWTVerifier verifier = verification.build(); //Reusable verifier instance
[javac] ^
[javac] D:\Mendix\Microservices Transport-main\javasource\loginweb\actions\DecodeVerifyJWTPlainText.java:71: error: cannot find symbol
[javac] return new String(Base64.getDecoder().decode(jwtv.getPayload()));
[javac] ^
[javac] symbol: method getPayload()
[javac] location: variable jwtv of type DecodedJWT
[javac] Note: D:\Mendix\Microservices Transport-main\javasource\system\UserActionsRegistrar.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 6 errors

BUILD FAILED
D:\Mendix\Microservices Transport-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details.

Total time: 3 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions