Hi, I don't know why, But in Line: BeanFactory factory = new XmlBeanFactory(res); I get time out error and exception. this is the exception: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [hello.xml]; nested exception is java.net.ConnectException: Connection timed out.
I think it is not able to parse "hello.xml". can you help me with that.
View All Comments