I have implemented custom java successfully with eclipse and I’m trying to debug. I set up breakpoints and changed the JRE location in Eclipse to point to Mendix’s v11. All seems well, but when I highlight my root app in the project explorer and click debug I get a “Source not Found” message. What am I missing? I made sure I clicked “Deploy for Eclipse” in mendix just before trying to debug:
Just to clarify, this was fixed by doing the following:
I went into the Project menu – > Properties → Java… enabled project specific settings… and there’s a “compliance level” setting. For me, it was set to 16. I changed it to 11, and debugging now worked.