java程序抛出的异常问题

Jolin19890918 2011-07-18 02:47:13
java.io.FileNotFoundException: D:\Program%20Files\apache-tomcat-5.5.27\webapps\webapp\WEB-INF\config.xml (系统找不到指定的路径。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at jfa.lib.com.xml.FXMLDocument.loadFromFile(FXMLDocument.java:349)
at jfa.lib.app.mgr.FConfigManager.initializeManager(FConfigManager.java:250)
at jfa.lib.app.mgr.FConfigManager.contextInitialized(FConfigManager.java:206)
at jfa.lib.app.web.listener.FHttpContextListener.contextInitialized(FHttpContextListener.java:31)
这是自己写的类,问题是出现这里嘛?
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1117)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1215)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:619)
...全文
57 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
dyflovexlp 2011-07-18
D:\Program%20Files\apache-tomcat-5.5.27\webapps{少了个目录}\webapp\WEB-INF\config.xml

回复
找不路径,那你就看看你的那路径对不对嘛,不对就调试撒
回复
相关推荐
发帖
非技术区
创建于2007-09-28

2.3w+

社区成员

Java 非技术区
申请成为版主
帖子事件
创建了帖子
2011-07-18 02:47
社区公告
暂无公告