Hi Saurabh, I think it's better to you, use "Spring tool suite (STS)" instead of eclipse. Since you are building the project as Gradle project, in eclipse not able to enhanced openJPA at runtime.
On Sun, Dec 25, 2016 at 10:03 AM, Saurabh Chakrabarti < saurabhchakraba...@gmail.com> wrote: > Hi Guys, > > I'm new here and have started to get my hands dirty with the codebase, but > have been facing some problems. Would be great if someone could help me out > with this. > > I have installed java8, mysql 5.6.33, tomcat 7.0.69 > When I import the project to Eclipse and try to run it, I get the following > exception when I run ServerApplication class > > Exception in thread "main" > org.springframework.context.ApplicationContextException: > Unable to start embedded container; nested exception is > org.springframework.boot.context.embedded.EmbeddedServletContainerExcept > ion: > Unable to start embedded Tomcat > at org.springframework.boot.context.embedded. > EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext. > java:124) > at org.springframework.context.support.AbstractApplicationContext. > refresh(AbstractApplicationContext.java:476) > at org.springframework.boot.context.embedded. > EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext. > java:109) > at org.springframework.boot.SpringApplication.refresh( > SpringApplication.java:691) > at org.springframework.boot.SpringApplication.run( > SpringApplication.java:320) > at org.springframework.boot.SpringApplication.run( > SpringApplication.java:952) > at org.springframework.boot.SpringApplication.run( > SpringApplication.java:941) > at org.apache.fineract.ServerApplication.main( > ServerApplication.java:52) > Caused by: org.springframework.boot.context.embedded. > EmbeddedServletContainerException: Unable to start embedded Tomcat > at org.springframework.boot.context.embedded.tomcat. > TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer > .java:100) > at org.springframework.boot.context.embedded.tomcat. > TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer > .java:74) > at org.springframework.boot.context.embedded.tomcat. > TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer( > TomcatEmbeddedServletContainerFactory.java:295) > at org.springframework.boot.context.embedded.tomcat. > TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer( > TomcatEmbeddedServletContainerFactory.java:147) > at org.springframework.boot.context.embedded. > EmbeddedWebApplicationContext.createEmbeddedServletContainer( > EmbeddedWebApplicationContext.java:148) > at org.springframework.boot.context.embedded. > EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext. > java:121) > ... 7 more > > > Please find the full exception trace here - http://pastebin.com/u9R644Bf > > Could someone help me out with where I'm going wrong? Please let me know if > any more information is required. > > Regards, > Saurabh > -- Thanks and regards, Mifos Community Support *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/> * #304, 2nd Floor, 7th Main Road HRBR Layout 1st Block Bengaluru, Karnataka, 560043 INDIA Disclaimer: The information contained in this e-mail message and any files/attachment transmitted with it is confidential and for the sole use of the intended recipient(s) or entity identified. If you are not the intended recipient, please email: supp...@confluxtechnologies.com and destroy/delete all copies and attachment thereto along with the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and is unlawful. The recipient acknowledges that Conflux Technologies Private Limited or its subsidiaries and associated companies are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions. Before opening any attachments, please check.