Compilation of Java Actions failed after convert project from 9.24.9 to latest mendix studio pro version 10.6.1.
1
C:\Users\wmadi\Mendix\Lato Reseller Portal-upgrade\javasource\viewer3d\actions\controller\Util.java:60: error: cannot find symbol context.rollbackTransAction(); ^ symbol: method rollbackTransAction() location: variable context of type IContextC:\Users\wmadi\Mendix\Lato Reseller Portal-upgrade\javasource\viewer3d\actions\httprouter\HttpRouter.java:60: error: method setStatus in interface IMxRuntimeResponse cannot be applied to given types; response.setStatus(IMxRuntimeResponse.INTERNAL_SERVER_ERROR, ex.getCause().getMessage()); ^ required: int found: int,String reason: actual and formal argument lists differ in lengthC:\Users\wmadi\Mendix\Lato Reseller Portal-upgrade\javasource\viewer3d\actions\httprouter\HttpRouter.java:63: error: method setStatus in interface IMxRuntimeResponse cannot be applied to given types; response.setStatus(IMxRuntimeResponse.INTERNAL_SERVER_ERROR, ex.getMessage()); ^ required: int found: int,String reason: actual and formal argument lists differ in lengthNote: 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.3 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 2s
asked
Wiam Madi
1 answers
2
Hi Wiam,
If you are using this component: 3D Viewer. Make sure you upgrade to the latest version to see if that fixes the issue.
Also, make sure to cleanup older userlib .jar files