The error above is saying that the system/UserActionsRegistrar file has been compiled by Java 13 (supports class file version 57.0) and you’re attempting to compile with an older JRE, in this case Java 8 (supports class file version 52.0).
To resolve the issue:
The above will tell Eclipse to compile the project the same JRE that is being used by the modeler.
If you still run into the issue, you may need to change the Eclipse Compiler Compliance Level. Simple instructions on how to do that can be found on this post.
This happens when the JDK used to compile the app is different that what Studio Pro (or that version of Mendix) expects.
Mendix 7 uses Java 8
Mendix 8 uses Java 11
Based on the error, it looks like you are using v57, which is Java 13. (Reference)
To fix it, try this guide or Google for “eclipse change JRE” or “eclipse change JDK”.
This usually happens if you have Eclipse set to auto compile, and the version of Java you are using is later than the version Mendix is expecting.
Mendix 7 uses Java 8, and your Eclipse is using Java 13.
To fix this, disable the automatic compilation functionality in Eclipse, and instead let Mendix build the Java actions as part of its build process.
Hope this helps.
Hi, i receive this error using a Mendix Private Cloud instance on Azure. Any ideas on how to fix this? I have already upgraded the Mendix Operator to the latest version.