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

原创 2012年03月27日 19:26:15


严重: 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目录下即可解决。

相关文章推荐

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

如图所示,错误就是找不到那个service.xml 但是仔细找找,那个文件确确实实躺在那儿的。那是什么原因了,别人告诉我这个要看Class path。System.getProperty("java...

java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened b

java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened be...

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

Error initializing XFireServlet. org.springframework.beans.factory.BeanDefinitionStoreException: IOE...

java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist

java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened be...

maven常见异常及解决办法

【学习笔记】maven常见异常及解决办法1、ReasonPhrase: Forbiddena.注意用户的权限以及角色role的设置,一般是没有权限才会被禁止的。2、Failed to collect ...
  • judyfun
  • judyfun
  • 2015年11月16日 12:11
  • 6534

关于applicationContext.xml cannot be opened because it does not exist的解决

今天犯了一个错误,调了好久,就是加载applicationContext.xml文件时总是路径出错。 我的做法是:在myeclipse中导入spring框架,然后会在src目录下生成applicat...

【错误解决】[Maven] cannot be opened because it does not exist错误[文件无法编译到target目录下的解决方法]

使用IDEA搭建的Maven项目,在写SpringEL和资源调用时出现了如下错误: 相信我,代码没问题的、 Caused by: java.io.FileNotFoundException: clas...

[applicationContext.xml] cannot be opened because it does not exist错误

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document fro...

关于class path resource [applicationContext.xml] cannot be opened because it does not exist

关于 class path resource [applicationContext.xml] cannot be opened because it does not exist 的异常处理 ...
  • grwgwef
  • grwgwef
  • 2015年09月17日 14:24
  • 15761

class path resource [beans.xml] cannot be opened because it does not exist

严重: Exception sending context initialized event to listener instance of class org.springframework.we...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:webservice [META-INF/xfire/services.xml] cannot be opened because it does not exist
举报原因:
原因补充:

(最多只允许输入30个字)