Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing library in mendix 9.6 #8

Open
TJonkhoff opened this issue Nov 8, 2021 · 0 comments
Open

Missing library in mendix 9.6 #8

TJonkhoff opened this issue Nov 8, 2021 · 0 comments

Comments

@TJonkhoff
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant