java.net.ConnectException

Connection refused}}] at org.springframework.beans.factory.support.ConstructorResolver.createA rgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.1.7.RELEASE.jar!/:4. 1.7.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:185) ~[spring-beans-4.1.7.RELEASE.jar!/:4. 1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) ~[spri ng-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) ~[sprin g-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans -4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4 .1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELE ASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEA SE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEAS E] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1 .7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finish BeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context- 4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1. 7.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.5.RELEASE.j ar!/:1.2.5.RELEASE]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13525

  • via GitHub by Samriddhi1
    , 9 months ago
    ] at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1. 7.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.5.RELEASE.j ar!/:1.2.5.RELEASE]
  • > org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate(SQLExceptionSubclassTranslator.java:98) > ~[spring-jdbc-3.0.5.RELEASE.jar:3.0.5.RELEASE] at > org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate
  • Connection refused at ... java.net stuff ... JDBC stuff ... Spring stuff ... DBCP and Pool stuff ... Hibernate stuff
  • Stack trace

    • java.net.ConnectException: Connection refused}}] at org.springframework.beans.factory.support.ConstructorResolver.createA rgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.1.7.RELEASE.jar!/:4. 1.7.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:185) ~[spring-beans-4.1.7.RELEASE.jar!/:4. 1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) ~[spri ng-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) ~[sprin g-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans -4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4 .1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELE ASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEA SE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEAS E] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1 .7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finish BeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context- 4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1. 7.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.5.RELEASE.j ar!/:1.2.5.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)[spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)[spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE] at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)[spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE] at com.capitalone.dashboard.Application.main(Application.java:41)[api.jar!/:2.0.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)[api.jar!/:2.0.0-SNAPSHOT] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.