compilation of java action failed

0
I Am facing below error while running mendix application.    C:\Mendixrepo\registration-main\javasource\mendixsso\implementation\UserManager.java:40: error: cannot find symbol             c.rollbackTransAction();              ^   symbol:   method rollbackTransAction()   location: variable c of type IContext C:\Mendixrepo\registration-main\javasource\mendixsso\implementation\UserManager.java:79: error: cannot find symbol             c.rollbackTransAction();              ^   symbol:   method rollbackTransAction()   location: variable c of type IContext Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compile'. > Compilation failed; see the compiler error output for details. * Try: > Run with --stacktrace option to get the stack trace. > Run with --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 5s
asked
2 answers
2

Re-implement MendixSSO by redownloading it from the marketplace, then remove from <projectdir>/userlib any jar-files having a newer version, then delete  <projectdir>/deployment, then again in StudioPro try to start your project.

answered
0

 Directory di C:\Users\gdepu\Mendix\ExpensesApp_Module6Completed_10_3_0-main\userlib

14/12/2023  19:02    <DIR>          .15/12/2023  09:25    <DIR>          ..14/12/2023  19:02            29.489 accessors-smart-2.4.7.jar14/12/2023  19:02                 0 accessors-smart-2.4.7.jar.MendixSSO.3.0.014/12/2023  19:02                 0 accessors-smart-2.4.7.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 accessors-smart-2.4.7.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02           121.790 asm-9.1.jar14/12/2023  19:02                 0 asm-9.1.jar.MendixSSO.3.0.014/12/2023  19:02                 0 asm-9.1.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 asm-9.1.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02           577.742 commons-lang3-3.11.jar14/12/2023  19:02                 0 commons-lang3-3.11.jar.MendixSSO.3.0.014/12/2023  19:02                 0 commons-lang3-3.11.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 commons-lang3-3.11.jar.Required.by.commons-text-1.914/12/2023  19:02           216.211 commons-text-1.9.jar14/12/2023  19:02                 0 commons-text-1.9.jar.MendixSSO.3.0.014/12/2023  19:02                 0 commons-text-1.9.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 commons-text-1.9.jar.Required.by.MendixSSO.3.0.014/12/2023  19:02             7.959 content-type-2.1.jar14/12/2023  19:02                 0 content-type-2.1.jar.MendixSSO.3.0.014/12/2023  19:02                 0 content-type-2.1.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 content-type-2.1.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02             4.722 jcip-annotations-1.0-1.jar14/12/2023  19:02                 0 jcip-annotations-1.0-1.jar.MendixSSO.3.0.014/12/2023  19:02                 0 jcip-annotations-1.0-1.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 jcip-annotations-1.0-1.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02           119.227 json-smart-2.4.7.jar14/12/2023  19:02                 0 json-smart-2.4.7.jar.MendixSSO.3.0.014/12/2023  19:02                 0 json-smart-2.4.7.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 json-smart-2.4.7.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02            10.769 lang-tag-1.5.jar14/12/2023  19:02                 0 lang-tag-1.5.jar.MendixSSO.3.0.014/12/2023  19:02                 0 lang-tag-1.5.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 lang-tag-1.5.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02           642.526 nimbus-jose-jwt-9.12.1.jar14/12/2023  19:02                 0 nimbus-jose-jwt-9.12.1.jar.MendixSSO.3.0.014/12/2023  19:02                 0 nimbus-jose-jwt-9.12.1.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 nimbus-jose-jwt-9.12.1.jar.Required.by.oauth2-oidc-sdk.9.1514/12/2023  19:02           692.768 oauth2-oidc-sdk-9.15.jar14/12/2023  19:02                 0 oauth2-oidc-sdk-9.15.jar.MendixSSO.3.0.014/12/2023  19:02                 0 oauth2-oidc-sdk-9.15.jar.MendixSSO.RequiredLib14/12/2023  19:02                 0 oauth2-oidc-sdk-9.15.jar.Required.by.MendixSSO.3.0.0              40 File      2.423.203 byte               2 Directory  290.856.521.728 byte disponibili

 

above is the userlib directory files...

answered
0

I think that updating the Mendix module is fine and makes sense but about deleting the single jar files for every project I import is actually something that I would rather not do it...supposing I would know I to do it...don't you agree? isn't there some other more straight solution?

answered