急急急...
2011-10-13 11:21:08 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions信息: Loading XML bean definitions from file [D:\liupopo\projects\eclipseSts\jsontest\beans-config.xml]
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:\liupopo\projects\eclipseSts\jsontest\beans-config.xml]; nested exception is java.io.FileNotFoundException: beans-config.xml (系统找不到指定的文件。)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:73)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:61)
at com.test.TestHelloWord.main(TestHelloWord.java:42)
Caused by: java.io.FileNotFoundException: beans-config.xml (系统找不到指定的文件。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:110)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
... 4 more --------------------编程问答-------------------- 是不是你文件路径写错了 --------------------编程问答-------------------- 你的beans-config.xml在哪?
是不是在D:\liupopo\projects\eclipseSts\jsontest目录下? --------------------编程问答-------------------- 不急不急不急
补充:Java , Java EE