When debugging java, you should not start the application from the modeler, you should only deploy it (or start and stop it). After the deployment you should be able to start the application (again) by using eclipse using your debug configuration.
In general, you cannot debug an application with eclipse which was started using the modeler*. I am not sure however, whether this incorrect starting of the debug session is related to the files not found error.
(*it is possible using the java -Xdebug flags, but in general there is no reason to use this approach)
Dat werkt helaas niet.
Ik deploy (dus geen deploy en run). Dan start ik eclipse op en probeer de applicatie te runnen (run as application, eventueel debug as application). Dat geeft precies de bovenstaande meldingen. Omdat de applicatie dan niet runt, kan ik overigens ook in mijn browser niets doen.
Het lijkt erop dat het juiste main-programma draait. De vraag of de XAS in development of test-modus gedraaid moet worden is een hele redelijke vraag en kan alleen maar uit Mendix komen. En de melding "no files found in WEB-INF/model/" is ook specifiek voor Mendix. De enige google-hit is onderstaande vraag met antwoord van Johan.
Dat antwoord van Johan in https://forum.mendix.com/questions/655/Debug-Java-actions-in-Eclipse-no-files-found op dezelfde vraag een tijdje geleden is overigens niet helemaal juist. In de WEB-INF/model staat alleen de .mdp en een hele serie .sql's. Geen class-files. Die staan in de javasource, netjes in dezelfde map als de .java source files.
Blijft de vraag waarom de applicatie vanuit Eclipse niet wil draaien met deze merkwaardige foutmelding. Wat zoekt-ie in WEB-INF/model en waarom staat het er niet? Het lijkt me toch echt dat dit aan de Mendix-applicatie ligt.
You might be using the wrong build path: Project > rechtermuisknop > Build Path > Source Tab > Default output folder: should be: WEB-INF/model.
Further your javasource directory must be listed under 'source folders under build path'
Sorry, verkeerde link hierboven. De 284 gaat over de vraag welk main-programma te kiezen. De vraag over WEB-INF/model is https://forum.mendix.com/questions/655/Debug-Java-actions-in-Eclipse-no-files-found.