org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [jar:file:/<someFile>]; nested exception is java.net.ConnectException: Connection refused

  1. 0

    Can a Spring 4 application support spring-beans.dtd when it is run in a firewalled enviorment?

    Stack Overflow | 2 years ago | Mike Rylander
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [jar:file:/<someFile>]; nested exception is java.net.ConnectException: Connection refused
  2. 0

    Marvel throws ConnectionException on stopping elasticsearch

    GitHub | 3 years ago | paweloque
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. regisso 3 times, last 5 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.AbstractPlainSocketImpl.doConnect()
  2. Java RT
    HttpURLConnection.getInputStream
    1. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    2. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    3. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    4. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    5. java.net.Socket.connect(Socket.java:589)
    6. java.net.Socket.connect(Socket.java:538)
    7. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    10. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    11. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    13. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167)
    14. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997)
    16. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931)
    17. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511)
    18. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
    18 frames
  3. Spring Beans
    DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource
    1. org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:428)
    3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
    4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:409)
    5. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
    6. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
    7. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
    8. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
    9. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:242)
    9 frames