You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by jagadeesha K N <ja...@gmail.com> on 2020/04/29 10:18:51 UTC

Help need on set-up Apache-Fineract on local machine

 Hi Team,
I was trying to set up Apache-Fineract platform on my local machine. I am
using java 1.8.
I was followed the below steps.
1)git clone https://github.com/apache/fineract.git
2)Eclipse setup : I ran the below command and it's throwing the below error.

$ ./gradlew -Penv=dev clean cleanEclipse eclipse
To honour the JVM settings for this build a new JVM will be forked. Please
consider using the daemon:
https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Task :eclipseClasspath
Could not resolve: org.apache.openjpa:openjpa-all
Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
Could not resolve: org.apache.openjpa:openjpa-maven-plugin

 Could you please help to resolve this dependency issue.

Thanks,
Jagadeesh

Re: Help need on set-up Apache-Fineract on local machine

Posted by jagadeesha K N <ja...@gmail.com>.
Hi Meak,
The build was successful, but unable to start the tomcat server. Please
find the exception below.

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'servletContainer' defined in
org.apache.fineract.infrastructure.core.boot.EmbeddedTomcatWithSSLConfiguration:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory]:
Factory method 'servletContainer' threw exception; nested exception is
java.lang.NoClassDefFoundError: org/apache/catalina/WebResourceRoot

Thanks
Jagadeesh
8105921631


On Wed, Apr 29, 2020 at 9:54 PM jagadeesha K N <ja...@gmail.com>
wrote:

> Hi  Meak,
>
> Thanks a lot and great now am able to build successfully.
>
> Thanks
> Jagadeesh
>
>
>
> On Wed, Apr 29, 2020 at 5:56 PM Saransh Sharma <sa...@muellners.com>
> wrote:
>
>> If you still persist to use the dev property , then just remove the
>> comments at file Here look for 'ch.vorburger.mariaDB4j:mariaDB4j:2.4.0'
>>
>> Remove the comment  it will work here in this file
>>
>>
>> https://www.github.com/apache/fineract/tree/develop/fineract-provider%2Fdependencies.gradle
>>
>> On Wed, 29 Apr 2020, 17:52 Saransh Sharma, <sa...@muellners.com> wrote:
>>
>>> Please remove the dev property and try to run , it will work.
>>>
>>>
>>>
>>> On Wed, 29 Apr 2020, 17:43 Awasum Yannick, <aw...@apache.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> Which manual or readme are you following?
>>>>
>>>> You have not setup the DB properly. You have not read the README here:
>>>> https://github.com/apache/fineract#instructions-how-to-run-for-local-development
>>>>
>>>> Have you cloned from the latest develop branch here:
>>>> https://github.com/apache/fineract ?
>>>>
>>>> Your Spring Boot version in the logs is showing V2.1.9 instead of the
>>>> the V 2.2.4 on the develop branch as of this writing.
>>>>
>>>> You need to create the DBs as shown above and run the commands again.
>>>> Make sure you are using the latest develop clone of the software..
>>>>
>>>> Make sure you have not using some internally customize version of the
>>>> platform cus we wont be able to help cus we dont know what you have changed.
>>>>
>>>> Start from develop branch or a previous released version in Github and
>>>> move from there.
>>>>
>>>> See, I just ran my own local Dev version from latest develop Fineract
>>>> here: https://github.com/apache/fineract
>>>> <https://github.com/apache/fineract#instructions-how-to-run-for-local-development> and
>>>> it ran successfully.
>>>>
>>>>
>>>> [image: image.png]
>>>>
>>>> I hope this helps.
>>>>
>>>> Thanks.
>>>> Awasum
>>>>
>>>> On Wed, Apr 29, 2020 at 12:12 PM jagadeesha K N <
>>>> jagadeesh.bhushan@gmail.com> wrote:
>>>>
>>>>> Hi Awasum,
>>>>> Thanks for guiding me to resolve the issue. I ran the above commands
>>>>> which you have shared, but ended with FAILURE: Build failed with an
>>>>> exception.
>>>>> Please find the attached logs.
>>>>>
>>>>> Thanks
>>>>> Jagadeesh
>>>>>
>>>>>
>>>>> On Wed, Apr 29, 2020 at 3:58 PM Awasum Yannick <aw...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Please run ./gradlew clean build and then ./gradlew clean
>>>>>> tomcatRunWar just to see if everything is working properly.
>>>>>>
>>>>>> See the README for these basic commands and DB setup. There is also
>>>>>> support for Docker, Docker Compose and K8s. Check the README:
>>>>>> https://github.com/apache/fineract
>>>>>>
>>>>>> On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <
>>>>>> jagadeesh.bhushan@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Team,
>>>>>>> I was trying to set up Apache-Fineract platform on my local machine.
>>>>>>> I am using java 1.8.
>>>>>>> I was followed the below steps.
>>>>>>> 1)git clone https://github.com/apache/fineract.git
>>>>>>> 2)Eclipse setup : I ran the below command and it's throwing the
>>>>>>> below error.
>>>>>>>
>>>>>>> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
>>>>>>> To honour the JVM settings for this build a new JVM will be forked.
>>>>>>> Please consider using the daemon:
>>>>>>> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
>>>>>>> Daemon will be stopped at the end of the build stopping after
>>>>>>> processing
>>>>>>>
>>>>>>> > Task :eclipseClasspath
>>>>>>> Could not resolve: org.apache.openjpa:openjpa-all
>>>>>>> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
>>>>>>> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>>>>>>>
>>>>>>>  Could you please help to resolve this dependency issue.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Jagadeesh
>>>>>>>
>>>>>>

Re: Help need on set-up Apache-Fineract on local machine

Posted by jagadeesha K N <ja...@gmail.com>.
Hi  Meak,

Thanks a lot and great now am able to build successfully.

Thanks
Jagadeesh



On Wed, Apr 29, 2020 at 5:56 PM Saransh Sharma <sa...@muellners.com>
wrote:

> If you still persist to use the dev property , then just remove the
> comments at file Here look for 'ch.vorburger.mariaDB4j:mariaDB4j:2.4.0'
>
> Remove the comment  it will work here in this file
>
>
> https://www.github.com/apache/fineract/tree/develop/fineract-provider%2Fdependencies.gradle
>
> On Wed, 29 Apr 2020, 17:52 Saransh Sharma, <sa...@muellners.com> wrote:
>
>> Please remove the dev property and try to run , it will work.
>>
>>
>>
>> On Wed, 29 Apr 2020, 17:43 Awasum Yannick, <aw...@apache.org> wrote:
>>
>>> Hi,
>>>
>>> Which manual or readme are you following?
>>>
>>> You have not setup the DB properly. You have not read the README here:
>>> https://github.com/apache/fineract#instructions-how-to-run-for-local-development
>>>
>>> Have you cloned from the latest develop branch here:
>>> https://github.com/apache/fineract ?
>>>
>>> Your Spring Boot version in the logs is showing V2.1.9 instead of the
>>> the V 2.2.4 on the develop branch as of this writing.
>>>
>>> You need to create the DBs as shown above and run the commands again.
>>> Make sure you are using the latest develop clone of the software..
>>>
>>> Make sure you have not using some internally customize version of the
>>> platform cus we wont be able to help cus we dont know what you have changed.
>>>
>>> Start from develop branch or a previous released version in Github and
>>> move from there.
>>>
>>> See, I just ran my own local Dev version from latest develop Fineract
>>> here: https://github.com/apache/fineract
>>> <https://github.com/apache/fineract#instructions-how-to-run-for-local-development> and
>>> it ran successfully.
>>>
>>>
>>> [image: image.png]
>>>
>>> I hope this helps.
>>>
>>> Thanks.
>>> Awasum
>>>
>>> On Wed, Apr 29, 2020 at 12:12 PM jagadeesha K N <
>>> jagadeesh.bhushan@gmail.com> wrote:
>>>
>>>> Hi Awasum,
>>>> Thanks for guiding me to resolve the issue. I ran the above commands
>>>> which you have shared, but ended with FAILURE: Build failed with an
>>>> exception.
>>>> Please find the attached logs.
>>>>
>>>> Thanks
>>>> Jagadeesh
>>>>
>>>>
>>>> On Wed, Apr 29, 2020 at 3:58 PM Awasum Yannick <aw...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> Please run ./gradlew clean build and then ./gradlew clean tomcatRunWar
>>>>> just to see if everything is working properly.
>>>>>
>>>>> See the README for these basic commands and DB setup. There is also
>>>>> support for Docker, Docker Compose and K8s. Check the README:
>>>>> https://github.com/apache/fineract
>>>>>
>>>>> On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <
>>>>> jagadeesh.bhushan@gmail.com> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>> I was trying to set up Apache-Fineract platform on my local machine.
>>>>>> I am using java 1.8.
>>>>>> I was followed the below steps.
>>>>>> 1)git clone https://github.com/apache/fineract.git
>>>>>> 2)Eclipse setup : I ran the below command and it's throwing the below
>>>>>> error.
>>>>>>
>>>>>> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
>>>>>> To honour the JVM settings for this build a new JVM will be forked.
>>>>>> Please consider using the daemon:
>>>>>> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
>>>>>> Daemon will be stopped at the end of the build stopping after
>>>>>> processing
>>>>>>
>>>>>> > Task :eclipseClasspath
>>>>>> Could not resolve: org.apache.openjpa:openjpa-all
>>>>>> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
>>>>>> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>>>>>>
>>>>>>  Could you please help to resolve this dependency issue.
>>>>>>
>>>>>> Thanks,
>>>>>> Jagadeesh
>>>>>>
>>>>>

Re: Help need on set-up Apache-Fineract on local machine

Posted by Saransh Sharma <sa...@muellners.com>.
If you still persist to use the dev property , then just remove the
comments at file Here look for 'ch.vorburger.mariaDB4j:mariaDB4j:2.4.0'

Remove the comment  it will work here in this file

https://www.github.com/apache/fineract/tree/develop/fineract-provider%2Fdependencies.gradle

On Wed, 29 Apr 2020, 17:52 Saransh Sharma, <sa...@muellners.com> wrote:

> Please remove the dev property and try to run , it will work.
>
>
>
> On Wed, 29 Apr 2020, 17:43 Awasum Yannick, <aw...@apache.org> wrote:
>
>> Hi,
>>
>> Which manual or readme are you following?
>>
>> You have not setup the DB properly. You have not read the README here:
>> https://github.com/apache/fineract#instructions-how-to-run-for-local-development
>>
>> Have you cloned from the latest develop branch here:
>> https://github.com/apache/fineract ?
>>
>> Your Spring Boot version in the logs is showing V2.1.9 instead of the the
>> V 2.2.4 on the develop branch as of this writing.
>>
>> You need to create the DBs as shown above and run the commands again.
>> Make sure you are using the latest develop clone of the software..
>>
>> Make sure you have not using some internally customize version of the
>> platform cus we wont be able to help cus we dont know what you have changed.
>>
>> Start from develop branch or a previous released version in Github and
>> move from there.
>>
>> See, I just ran my own local Dev version from latest develop Fineract
>> here: https://github.com/apache/fineract
>> <https://github.com/apache/fineract#instructions-how-to-run-for-local-development> and
>> it ran successfully.
>>
>>
>> [image: image.png]
>>
>> I hope this helps.
>>
>> Thanks.
>> Awasum
>>
>> On Wed, Apr 29, 2020 at 12:12 PM jagadeesha K N <
>> jagadeesh.bhushan@gmail.com> wrote:
>>
>>> Hi Awasum,
>>> Thanks for guiding me to resolve the issue. I ran the above commands
>>> which you have shared, but ended with FAILURE: Build failed with an
>>> exception.
>>> Please find the attached logs.
>>>
>>> Thanks
>>> Jagadeesh
>>>
>>>
>>> On Wed, Apr 29, 2020 at 3:58 PM Awasum Yannick <aw...@apache.org>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> Please run ./gradlew clean build and then ./gradlew clean tomcatRunWar
>>>> just to see if everything is working properly.
>>>>
>>>> See the README for these basic commands and DB setup. There is also
>>>> support for Docker, Docker Compose and K8s. Check the README:
>>>> https://github.com/apache/fineract
>>>>
>>>> On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <
>>>> jagadeesh.bhushan@gmail.com> wrote:
>>>>
>>>>> Hi Team,
>>>>> I was trying to set up Apache-Fineract platform on my local machine. I
>>>>> am using java 1.8.
>>>>> I was followed the below steps.
>>>>> 1)git clone https://github.com/apache/fineract.git
>>>>> 2)Eclipse setup : I ran the below command and it's throwing the below
>>>>> error.
>>>>>
>>>>> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
>>>>> To honour the JVM settings for this build a new JVM will be forked.
>>>>> Please consider using the daemon:
>>>>> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
>>>>> Daemon will be stopped at the end of the build stopping after
>>>>> processing
>>>>>
>>>>> > Task :eclipseClasspath
>>>>> Could not resolve: org.apache.openjpa:openjpa-all
>>>>> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
>>>>> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>>>>>
>>>>>  Could you please help to resolve this dependency issue.
>>>>>
>>>>> Thanks,
>>>>> Jagadeesh
>>>>>
>>>>

Re: Help need on set-up Apache-Fineract on local machine

Posted by Saransh Sharma <sa...@muellners.com>.
Please remove the dev property and try to run , it will work.



On Wed, 29 Apr 2020, 17:43 Awasum Yannick, <aw...@apache.org> wrote:

> Hi,
>
> Which manual or readme are you following?
>
> You have not setup the DB properly. You have not read the README here:
> https://github.com/apache/fineract#instructions-how-to-run-for-local-development
>
> Have you cloned from the latest develop branch here:
> https://github.com/apache/fineract ?
>
> Your Spring Boot version in the logs is showing V2.1.9 instead of the the
> V 2.2.4 on the develop branch as of this writing.
>
> You need to create the DBs as shown above and run the commands again. Make
> sure you are using the latest develop clone of the software..
>
> Make sure you have not using some internally customize version of the
> platform cus we wont be able to help cus we dont know what you have changed.
>
> Start from develop branch or a previous released version in Github and
> move from there.
>
> See, I just ran my own local Dev version from latest develop Fineract
> here: https://github.com/apache/fineract
> <https://github.com/apache/fineract#instructions-how-to-run-for-local-development> and
> it ran successfully.
>
>
> [image: image.png]
>
> I hope this helps.
>
> Thanks.
> Awasum
>
> On Wed, Apr 29, 2020 at 12:12 PM jagadeesha K N <
> jagadeesh.bhushan@gmail.com> wrote:
>
>> Hi Awasum,
>> Thanks for guiding me to resolve the issue. I ran the above commands
>> which you have shared, but ended with FAILURE: Build failed with an
>> exception.
>> Please find the attached logs.
>>
>> Thanks
>> Jagadeesh
>>
>>
>> On Wed, Apr 29, 2020 at 3:58 PM Awasum Yannick <aw...@apache.org> wrote:
>>
>>> Hi
>>>
>>> Please run ./gradlew clean build and then ./gradlew clean tomcatRunWar
>>> just to see if everything is working properly.
>>>
>>> See the README for these basic commands and DB setup. There is also
>>> support for Docker, Docker Compose and K8s. Check the README:
>>> https://github.com/apache/fineract
>>>
>>> On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <
>>> jagadeesh.bhushan@gmail.com> wrote:
>>>
>>>> Hi Team,
>>>> I was trying to set up Apache-Fineract platform on my local machine. I
>>>> am using java 1.8.
>>>> I was followed the below steps.
>>>> 1)git clone https://github.com/apache/fineract.git
>>>> 2)Eclipse setup : I ran the below command and it's throwing the below
>>>> error.
>>>>
>>>> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
>>>> To honour the JVM settings for this build a new JVM will be forked.
>>>> Please consider using the daemon:
>>>> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
>>>> Daemon will be stopped at the end of the build stopping after processing
>>>>
>>>> > Task :eclipseClasspath
>>>> Could not resolve: org.apache.openjpa:openjpa-all
>>>> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
>>>> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>>>>
>>>>  Could you please help to resolve this dependency issue.
>>>>
>>>> Thanks,
>>>> Jagadeesh
>>>>
>>>

Re: Help need on set-up Apache-Fineract on local machine

Posted by Awasum Yannick <aw...@apache.org>.
Hi,

Which manual or readme are you following?

You have not setup the DB properly. You have not read the README here:
https://github.com/apache/fineract#instructions-how-to-run-for-local-development

Have you cloned from the latest develop branch here:
https://github.com/apache/fineract ?

Your Spring Boot version in the logs is showing V2.1.9 instead of the the V
2.2.4 on the develop branch as of this writing.

You need to create the DBs as shown above and run the commands again. Make
sure you are using the latest develop clone of the software..

Make sure you have not using some internally customize version of the
platform cus we wont be able to help cus we dont know what you have changed.

Start from develop branch or a previous released version in Github and move
from there.

See, I just ran my own local Dev version from latest develop Fineract here:
https://github.com/apache/fineract
<https://github.com/apache/fineract#instructions-how-to-run-for-local-development>
and
it ran successfully.


[image: image.png]

I hope this helps.

Thanks.
Awasum

On Wed, Apr 29, 2020 at 12:12 PM jagadeesha K N <ja...@gmail.com>
wrote:

> Hi Awasum,
> Thanks for guiding me to resolve the issue. I ran the above commands which
> you have shared, but ended with FAILURE: Build failed with an exception.
> Please find the attached logs.
>
> Thanks
> Jagadeesh
>
>
> On Wed, Apr 29, 2020 at 3:58 PM Awasum Yannick <aw...@apache.org> wrote:
>
>> Hi
>>
>> Please run ./gradlew clean build and then ./gradlew clean tomcatRunWar
>> just to see if everything is working properly.
>>
>> See the README for these basic commands and DB setup. There is also
>> support for Docker, Docker Compose and K8s. Check the README:
>> https://github.com/apache/fineract
>>
>> On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <
>> jagadeesh.bhushan@gmail.com> wrote:
>>
>>> Hi Team,
>>> I was trying to set up Apache-Fineract platform on my local machine. I
>>> am using java 1.8.
>>> I was followed the below steps.
>>> 1)git clone https://github.com/apache/fineract.git
>>> 2)Eclipse setup : I ran the below command and it's throwing the below
>>> error.
>>>
>>> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
>>> To honour the JVM settings for this build a new JVM will be forked.
>>> Please consider using the daemon:
>>> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
>>> Daemon will be stopped at the end of the build stopping after processing
>>>
>>> > Task :eclipseClasspath
>>> Could not resolve: org.apache.openjpa:openjpa-all
>>> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
>>> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>>>
>>>  Could you please help to resolve this dependency issue.
>>>
>>> Thanks,
>>> Jagadeesh
>>>
>>

Re: Help need on set-up Apache-Fineract on local machine

Posted by jagadeesha K N <ja...@gmail.com>.
Hi Awasum,
Thanks for guiding me to resolve the issue. I ran the above commands which
you have shared, but ended with FAILURE: Build failed with an exception.
Please find the attached logs.

Thanks
Jagadeesh


On Wed, Apr 29, 2020 at 3:58 PM Awasum Yannick <aw...@apache.org> wrote:

> Hi
>
> Please run ./gradlew clean build and then ./gradlew clean tomcatRunWar
> just to see if everything is working properly.
>
> See the README for these basic commands and DB setup. There is also
> support for Docker, Docker Compose and K8s. Check the README:
> https://github.com/apache/fineract
>
> On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <
> jagadeesh.bhushan@gmail.com> wrote:
>
>> Hi Team,
>> I was trying to set up Apache-Fineract platform on my local machine. I am
>> using java 1.8.
>> I was followed the below steps.
>> 1)git clone https://github.com/apache/fineract.git
>> 2)Eclipse setup : I ran the below command and it's throwing the below
>> error.
>>
>> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
>> To honour the JVM settings for this build a new JVM will be forked.
>> Please consider using the daemon:
>> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
>> Daemon will be stopped at the end of the build stopping after processing
>>
>> > Task :eclipseClasspath
>> Could not resolve: org.apache.openjpa:openjpa-all
>> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
>> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>>
>>  Could you please help to resolve this dependency issue.
>>
>> Thanks,
>> Jagadeesh
>>
>

Re: Help need on set-up Apache-Fineract on local machine

Posted by Awasum Yannick <aw...@apache.org>.
Hi

Please run ./gradlew clean build and then ./gradlew clean tomcatRunWar just
to see if everything is working properly.

See the README for these basic commands and DB setup. There is also support
for Docker, Docker Compose and K8s. Check the README:
https://github.com/apache/fineract

On Wed, Apr 29, 2020 at 11:19 AM jagadeesha K N <ja...@gmail.com>
wrote:

> Hi Team,
> I was trying to set up Apache-Fineract platform on my local machine. I am
> using java 1.8.
> I was followed the below steps.
> 1)git clone https://github.com/apache/fineract.git
> 2)Eclipse setup : I ran the below command and it's throwing the below
> error.
>
> $ ./gradlew -Penv=dev clean cleanEclipse eclipse
> To honour the JVM settings for this build a new JVM will be forked. Please
> consider using the daemon:
> https://docs.gradle.org/5.6.1/userguide/gradle_daemon.html.
> Daemon will be stopped at the end of the build stopping after processing
>
> > Task :eclipseClasspath
> Could not resolve: org.apache.openjpa:openjpa-all
> Could not resolve: ch.vorburger.mariaDB4j:mariaDB4j
> Could not resolve: org.apache.openjpa:openjpa-maven-plugin
>
>  Could you please help to resolve this dependency issue.
>
> Thanks,
> Jagadeesh
>