Hi,
You can refer to this documentation : https://docs.mendix.com/refguide/using-eclipse/
Hey Sahana!
I have seen your comment. To see the application on the web you need to access the localhost URL.
To know which port is the application using you can check the run configuration on eclipse:
In this case for example the app is running on localhost:8083
That looks like you are missing the json simple jar file in your userlib.
If you are looking to turn a data into JSON in a Mendix application, you will probably find it easier to use an Export Mapping. You won’t need to worry about maintaining custom Java code using this approach.
https://docs.mendix.com/refguide/export-mapping-action/
Good luck!
Hi,
Add the json jar in userlib folder
App->Show app directory in explorer->userlib->{add your jar}
or
Set up an Export Mapping and Message Definition for the entity you want to convert into a JSON String.
Next, create a microflow and add an activity that uses the Export Mapping you created. Pass the object as a parameter to the Export Mapping and set the content type to JSON. Define the Return variable as a String.
Export with mapping:
https://docs.mendix.com/refguide/export-mapping-action/
Message Definition: