Innocent, I just went through your pain but it is easy. You should note that because of an issue with OpenJpa you will not be able to debug directly from Eclipse. You run fineract and then attach the debugger to it. I had luck debugging with Springsource Tool Suite (STS).
Setup and build fineract $ cd <fineract-base-directory>\fineract-provider $ ..\gradlew tomcatRunWar Notice that gradlew.bat is at the base-directory but the build.gradle is inside fineract-provider, that is why you need the ..\ When you run tomcatRunWar you will notice that it is listening on 8005 (if you did not change this) Now bring up fineract in STS and make sure there are no errors then Run/Debug Debug Configuration Create a Remote Java Application Configuration and point to port: 8005 Set your breakpoint and go at it. see also: https://mifosforge.jira.com/wiki/spaces/MDZ/pages/93093939/Eclipse+Setup Happy Debugging On Thu, Oct 19, 2017 at 7:45 AM, Innocent Marozva < [email protected]> wrote: > Hi Developers > > > > For the past days I have been trying to run/debug Mifos main() classes as > Java Application locally without success, below are the classes I have > tried and need help with: > > > > 1. ServerWithMariaDB4jApplication how do I embed mariadb on eclipse > here getting some errors here > > 2. ServerApplication tried the class to run as Java Application > checked my localhost and db name and password everyting is fine but getting > an error: > > 3. SpringBootServerLoginTest when I run this class as Junit test I > get just a green line > > > > > > Your help will greatly appreciated. > > > > Regards > > > > Innocent Marozva > > > > +263716634105 <+263%2071%20663%204105> > > > > Skype: innocent.morrison.marozva > > > > Taat Consulting > > >
