CXF一个接口里写多个方法后报错

望远镜Monkey 2014-07-03 07:10:26
原本接口只有一个方法,运行正常,由于业务需求新增了一个方法之后,启动报错:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext-server.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext-server.xml] cannot be opened because it does not exist

Caused by: java.io.FileNotFoundException: class path resource [applicationContext-server.xml] cannot be opened because it does not exist

严重: 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 class path resource [applicationContext-server.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext-server.xml] cannot be opened because it does not exist

看网上的例子都可以在同一个接口里包含多个方法,想请问多方法有没有额外要注意配置的,还是保持一个方法的配置就好了。
...全文
229 回复 打赏 收藏 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

51,407

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧