Starting a Project with my custom Java

0
Hello, I need help with implementing a Java action.  So far I have looked at the documentation and tried to follow it as good as I could. My action looks like this: As you see it has just one parameter. I used VSC to edit the java file created automatically and I just set the return to true:   Now if I try to run my project i get an error message that i dont understand and cant find the cause of:   So if anyone can tell me why this is happening or what i am missing, I would be really greatful.
asked
2 answers
1

Do you have VS Code set to auto compile Java? I found this to be the issue for me as it was compiling to a higher version of Java than the Mendix application expects. To fix it, just turn off auto compile and let Mendix do that for you when you build the application.

answered
0

Hi Moritz,

Please see the comment thread under the accepted answer here: https://forum.mendix.com/link/questions/112889.

You should use Eclipse instead of VS Code for Java development with Mendix.

answered