compilation of java action failed

0
Hello,   Can anyone help me with below issue   C:\Users\12809\Documents\Mendix\Teamcenter Connector Sample Application-main\javasource\tcconnector\actions\DownloadFiles.java:75: error: cannot assign a value to final variable ConfigurationName            ConfigurationName = tcconnector.proxies.microflows.Microflows            ^C:\Users\12809\Documents\Mendix\Teamcenter Connector Sample Application-main\javasource\tcconnector\actions\GetAttachedLOV.java:60: error: cannot assign a value to final variable configurationName            configurationName = tcconnector.proxies.microflows.Microflows            ^C:\Users\12809\Documents\Mendix\Teamcenter Connector Sample Application-main\javasource\viewer3d\actions\controller\Util.java:60: error: cannot find symbol            context.rollbackTransAction();                   ^  symbol:   method rollbackTransAction()  location: variable context of type IContextC:\Users\12809\Documents\Mendix\Teamcenter Connector Sample Application-main\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\12809\Documents\Mendix\Teamcenter Connector Sample Application-main\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.5 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 25s
asked
1 answers
2

Hello Aishwarya Salunke,

 

This looks like a userlib issue, had you recently updated, downloaded or changed a marketplace module.

Or did you upgrade your mendix version?

What you can try is to update your marketplace modules to the latest versions and remove duplicate user/vendor libs and/or keep the latest version of these libraries.

If you are not sure which one to delete create a blank project and import the marketplace modules in there and look which libraries are used there.

 

Hope this helps,

 

Good luck!

answered