From your model and JAVA I can deduct 2 things
Either you wrote some simple JAVA and tries to use it in Mendix, because you want to learn and understand how to use JAVA in Mendix in a complexer scenario. Or you just start using Mendix and you enthousiastically start with using JAVA for stuff you shouldn’t use JAVA.
In both cases;
Probably your JAVA is doing something wrong.
As you don’t have specified what your JAVA is doing and what the stacktrace of that call is, your question will be left unanswered.
But what worries me the most; You haven’t taken any Mendix learning path and you are questioning us about JAVA integration.
Please take the Rapid developer course first, understand how Mendix works in the first place before starting with JAVA; https://academy.mendix.com/link/path/31/Become-a-Rapid-Developer
Thanks for your feedback
Followed Steps:
I have deployed successfully and able to explore the code in Spring suit tool. Added some code in the JA_CreateOrder .executeAction() and restarted the application my added codes get cleared and showing original code and java call not returning any object.
Entity:
Java Action:
Microflow
Error messages 1:
Log Node : Connector
Message:
An error has occurred while handling the request. [User 'MxAdmin' with session id '6e384a95-XXXX-XXXX-XXXX-XXXXXXXX0be4' and roles 'Administrator']
Error messages 2:
Log Node : Client
Message:
An error occurred while executing an action of MyFirstModule.Home_Web.actionButton1: Error: An error occurred while executing an action of MyFirstModule.Home_Web.actionButton1:
at http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:68:118789
at we (http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:24:6501)
at i (http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:24:6402)
at x (http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:66:5472)
Thanks for guiding !….