webservice [META-INF/xfire/services.xml] cannot be opened because it does not exist

来源:互联网 发布:淘宝客怎么找卖家 编辑:程序博客网 时间:2024/05/16 05:09


严重: Allocate exception for servlet XFireServlet
java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:167)


在tomcate工程里的 WEB-INF/classes的文件夹下新建一个META-INF文件夹,然后在里面新建一个xfire文件夹,将services.xml文件放到xfire目录下即可解决。