你好,我用ssh框架添加xfire的程序,运行tomcat出现以下错误,请帮忙改下。邮箱:gaotao1210@163.com
严重: exception sending context initialized event to listener instance of class org.springframework.web.context.contextloaderlistener
org.springframework.beans.factory.beandefinitionstoreexception: ioexception parsing xml document from servletcontext resource [/web/inf/xfire-servlet.xml]; nested exception is java.io.filenotfoundexception: could not open servletcontext resource [/web/inf/xfire-servlet.xml]
caused by: java.io.filenotfoundexception: could not open servletcontext resource [/web/inf/xfire-servlet.xml]
at org.springframework.web.context.support.servletcontextresource.getinputstream(servletcontextresource.java:99)
at org.springframework.beans.factory.xml.xmlbeandefinitionreader.loadbeandefinitions(xmlbeandefinitionreader.java:297)
at org.springframework.beans.factory.xml.xmlbeandefinitionreader.loadbeandefinitions(xmlbeandefinitionreader.java:280)
at org.springframework.beans.factory.support.abstractbeandefinitionreader.loadbeandefinitions(abstractbeandefinitionreader.java:131)
at org.springframework.beans.factory.support.abstractbeandefinitionreader.loadbeandefinitions(abstractbeandefinitionreader.java:147)
at org.springframework.web.context.support.xmlwebapplicationcontext.loadbeandefinitions(xmlwebapplicationcontext.java:124)
at org.springframework.web.context.support.xmlwebapplicationcontext.loadbeandefinitions(xmlwebapplicationcontext.java:92)
at org.springframework.context.support.abstractrefreshableapplicationcontext.refreshbeanfactory(abstractrefreshableapplicationcontext.java:101)
at org.springframework.context.support.abstractapplicationcontext.obtainfreshbeanfactory(abstractapplicationcontext.java:389)
at org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:324)
at org.springframework.web.context.contextloader.createwebapplicationcontext(contextloader.java:244)
at org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:187)
at org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:49)
at org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:3827)
at org.apache.catalina.core.standardcontext.start(standardcontext.java:4336)
at org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:761)
at org.apache.catalina.core.containerbase.addchild(containerbase.java:741)
at org.apache.catalina.core.standardhost.addchild(standardhost.java:525)
at org.apache.catalina.startup.hostconfig.deploydirectory(hostconfig.java:920)
at org.apache.catalina.startup.hostconfig.deploydirectories(hostconfig.java:883)
at org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:492)
at org.apache.catalina.startup.hostconfig.start(hostconfig.java:1138)
at org.apache.catalina.startup.hostconfig.lifecycleevent(hostconfig.java:311)
at org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:120)
at org.apache.catalina.core.containerbase.start(containerbase.java:1023)
at org.apache.catalina.core.standardhost.start(standardhost.java:719)
at org.apache.catalina.core.containerbase.start(containerbase.java:1015)
at org.apache.catalina.core.standardengine.start(standardengine.java:443)
at org.apache.catalina.core.standardservice.start(standardservice.java:448)
at org.apache.catalina.core.standardserver.start(standardserver.java:710)
at org.apache.catalina.startup.catalina.start(catalina.java:552)
at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at org.apache.catalina.startup.bootstrap.start(bootstrap.java:288)
at org.apache.catalina.startup.bootstrap.main(bootstrap.java:413)
2009-7-15 11:44:38 org.apache.catalina.core.standardcontext start
严重: error listenerstart
2009-7-15 11:44:38 org.apache.catalina.core.standardcontext start
严重: context [/cimom] startup failed due to previous errors
2009-7-15 11:44:38 org.apache.catalina.core.applicationcontext log
回复