For a new app in 9.24 you will get commons-lang3-3.12.0.jar in the userlib folder. You probably have some other versions of this jar around there. Cleanup and leave the above version.
For me the surprise came from OQL module. It also uses lang3 library but it is named as org.apache.commons.lang3.jar which does not align with other modules. Once I found it and cleaned other instances of commons-lang3-3.xxx.jar everything started to work.
I tried what you said Chris and it still didn’t work. any ideas?
> Task :clean-custom-classes
> Task :compile
Z:\Documents\Mendix\xxxx-workflow\javasource\mendixsso\implementation\utils\MendixUtils.java:36: error: cannot find symbol
return ExceptionUtils.rethrow(e);
^
symbol: method rethrow(ReflectiveOperationException)
location: class ExceptionUtils
Z:\Documents\Mendix\xxxx-workflow\javasource\mendixsso\implementation\oidp\IdentityProviderMetaDataCache.java:69: error: cannot find symbol
return ExceptionUtils.rethrow(e);
^
symbol: method rethrow(Exception)
location: class ExceptionUtils
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
> Task :compile FAILED
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 --info or --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 16s
2 actionable tasks: 2 executed