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

望远镜Monkey 望远镜Monkey 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
原本接口只有一个方法,运行正常,由于业务需求新增了一个方法之后,启动报错:
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

看网上的例子都可以在同一个接口里包含多个方法,想请问多方法有没有额外要注意配置的,还是保持一个方法的配置就好了。
...全文

相关推荐

评论
收藏 已收藏
分享
返回顶部
望远镜Monkey
Java 51,407 成员 86,128 内容