[Mifos-users] Facing problems getting started with the project on eclipse

50 views
Skip to first unread message

Saurabh Chakrabarti

unread,
Dec 24, 2016, 8:15:13 AM12/24/16
to mifos...@lists.sourceforge.net
Hi Guys,

First of all, I really appreciate the work you guys have been doing working for the noble cause of creating “3 Billion Maries”. I'd love to be a part of this journey, and contribute and learn in the process.

I've 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.EmbeddedServletContainerException: 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

Reply all
Reply to author
Forward
0 new messages