Hey Lionel & Markus, Thanks for clearing this out for me, I will try setting up by dev environment as Lionel mentioned. I hope the next version comes out soon.
Regards, Anirudh On Thu, Jul 21, 2016 at 9:20 PM, Markus Geiß <markus.ge...@live.de> wrote: > Hey Anirudh & Lionel, > > we have removed the direct dependency for Hibernate ORM from the source > build, to fulfill the Apache license policies. > > Our core team is currently working on a version to replace Hibernate with > OpenJPA given that we believe we won't get a release through as long as > there is the uncertainty of this dependency. > > The work is scheduled to run until the end of next week, given we need do > some extensive testing. > > In the meantime, you can setup your dev environment to use the mentioned > parameter directly, or copy he Hibernate dep's into the lib folder of > Tomcat. > > Cheers > > Markus > > -----Original Message----- > From: Lionel Raymundi - Poincenot [mailto:lio...@poincenot.com] > Sent: Thursday, July 21, 2016 4:52 PM > To: dev@fineract.incubator.apache.org > Subject: Re: Beginner at FOSS and development in general > > Hi, > > I'm also new to the community, and I had the same issue. I noticed that > version in branch 0.3.1-incubating works just fine, so this behaviour was > introduced in branch 0.3.2. I have been reading the mails archive and found > that some dependencies were removed from build task because them dont meet > ASF licence. They can be used in development but shouldn't be shipped with > the deployable production package. Please, anyone more experienced than me > on this project, correct me if i'm wrong > > So, here are some things you can do > .- option a) if you are developing, build your war adding > *-PbuildType=TEST* to your gradle command. That should do the trick > .- option b) if you are in prod scenario, you could copy to your tomcat > lib folder all dependencies needed (I did it just to know what was missing, > I will give you the detail later) > .- option c) checkout branch 0.3.1 :-) > > I dont know if the changes introduced because of this dependencies > licences issue are definitive, I think it is still being discussed. > > > Now, the things I had to copy to tomcat lib folder in case you want to > follow option b) are: > + antlr-2.7.7.jar > + hibernate-jpa-2.1-api-1.0.0.Final.jar > + jandex-1.1.0.Final.jar > + javassist-3.18.1-GA.jar > + jboss-logging-3.1.3.GA.jar > + jboss-transaction-api_1.2_spec-1.0.0.Final.jar > + hibernate-commons-annotations-4.0.5.Final.jar > + hibernate-core-4.3.6.Final.jar > + hibernate-entitymanager-4.3.6.Final.jar > + validation-api-1.1.0.Final.jar > + dom4j-1.6.1.jar > > And it does not end there, I had to remove from WAR package the following > - dom4j-1.6.1.jar > - javax.persistence-2.0.0.jar > > > I hope this helps you > > Regards > Lionel > > > 2016-07-21 8:53 GMT-03:00 Anirudh Jain <spond...@gmail.com>: > > > Hi, > > > > I followed the instructions on the website you mentioned and got the > > database populated. But everytime I run the ServerApplication.java or > > ServerWithMariaDB4JApplication, i am getting the a lot of errors > > including unable to start embedded Tomcat and cannot Autowire field. > > The complete error is at: http://pastebin.com/5f37xc0y > > > > I can't seem to figure out the problem and am stuck. Would appreciate > > any help, thanx in advanced. > > > > Regards, > > Anirudh Jain > > >