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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Mike Rylander
, 1 year ago
IOException parsing XML document from URL [jar:file:/<someFile>]; nested exception is java.net.ConnectException: Connection refused
via Stack Overflow by skougiou
, 2 years ago
Unexpected exception parsing XML document from URL [jar:file:/C:/Development/Java/servers/apache-tomcat-7.0.50/webapps/oauthApp/WEB-INF/lib/AuthenticationAdapter-3.2.2-SNAPSHOT.jar!/ApplicationContext.xml]; nested exception is java.lang.UnsupportedOperationException
via Stack Overflow by NIVESH SENGAR
, 2 years ago
Unexpected exception parsing XML document from class path resource [tcm-hosttrade-inbound-adapter.xml]; nested exception is java.lang.ClassCastException: org.springframework.beans.factory.config.RuntimeBeanReference cannot be cast to org.springframework.beans.factory.config.BeanDefinition
via Oracle Community by 666705, 1 year ago
Unexpected exception parsing XML document from URL [jar:file:/C:/bea1002/WLSERV~1.0/platform/lib/p13n/p13n_system.jar!/META-INF/com.bea.wlp.services.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.scripting.config.LangNamespaceHandler] does not implement the NamespaceHandler interface
via hivmr.com by Unknown author, 1 year ago
Unexpected exception parsing XML document from URL [jar:file:/C:/bea1002/WLSERV~1.0/platform/lib/p13n/p13n_system.jar!/META-INF/com.bea.wlp.services.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.scripting.config.LangNamespaceHandler] does not implement the NamespaceHandler interface
via hivmr.com by Unknown author, 1 year ago
Unexpected exception parsing XML document from URL [jar:file:/C:/bea1002/WLSERV~1.0/platform/lib/p13n/p13n_system.jar!/META-INF/com.bea.wlp.services.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.scripting.config.LangNamespaceHandler] does not implement the NamespaceHandler interface
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [jar:file:/<someFile>]; nested exception is java.net.ConnectException: Connection refused
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:428)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:409)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)

Users with the same issue

2 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.