I am getting Compilation of java action fail error

0
Whenever I edit java action using STS it starts showing Compilation of java action fail even after I undo all changes app shows same error.
asked
2 answers
1

Are you using Java 11 in STS? 

I suspect you have a recent version such as 16, and that won’t be compatible with Mendix. It will cause the sort of errors you are seeing. 

Install and use Java 11 and it should work.

Good luck!

 

answered
0

Hi Rohit,

might be caused by conflicting java libraries within your project or if the jdk versions don’t match up

Have a look at

https://forum.mendix.com/link/questions/101086

answered