-
Apr 11th, 2012, 10:06 PM
#1
Configuration problem: Failed to import bean definitions from URL location
Need help here. We are using Spring 3.0 on Websphere 6.1
We get the following error when server is brought up.
Caused by: org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:com/y/y/abc.xml]
Offending resource: URL [wsjar:file:/x/x/x.lib/XServices.jar!/com/y/y/y/y/yContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:/com/y/y/y/y/SqlMapConfig.xml]
Offending resource: class path resource [com/y/y/y/config/yDAOContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionSt oreException: IOException parsing XML document from class path resource [com/y/y/config/SqlMapConfig.xml]; nested exception is java.net.ConnectException: Connection timed out
The error does not happen always. If we restart multiple times, the error goes away and does not appear till next server restart. Always not necessarily every restart will have the error. Sometime the first restart itself is successful.
Please help.
-
Apr 16th, 2012, 02:38 AM
#2
Hi,
You need to look at , when actually error/exception is coming. Also from exception it seems that spring cannot import beans from URL.Also it will be great if you paste your yContext.xml which will make it easy to analyse the problem!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules