Deployment in java action failed

Buildfile: C:\Users\Indium Software\Documents\Mendix\SMTP-main\deployment\build_core.xml compile:     [javac] Compiling 1 source file to C:\Users\Indium Software\Documents\Mendix\SMTP-main\deployment\run\bin     [javac] C:\Users\Indium Software\Documents\Mendix\SMTP-main\javasource\system\ error: cannot access Base64Decode     [javac]     registrator.registerUserAction(communitycommons.actions.Base64Decode.class);     [javac]                                                            ^     [javac]   bad class file: C:\Users\Indium Software\Documents\Mendix\SMTP-main\deployment\run\bin\communitycommons\actions\Base64Decode.class     [javac]     class file has wrong version 55.0, should be 52.0     [javac]     Please remove or make sure it appears in the correct subdirectory of the classpath.     [javac] 1 error BUILD FAILED C:\Users\Indium Software\Documents\Mendix\SMTP-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 1 second  
1 answers

It looks like you are using a version of Community Commons that has been compiled for Mendix 8 (or above). This is using Java 11 behind the scenes, but I see you are using Mendix 7 which uses Java 8 instead.

You may also have opened the project in Eclipse and that may have compiled the actions into a different version of Java.

To fix this, remove the module from your app, and reinstall again using an older version that is compatible with the version of Mendix you are using.

Hope this helps.