CXF一个接口里写多个方法后报错
原本接口只有一个方法,运行正常,由于业务需求新增了一个方法之后,启动报错:
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
看网上的例子都可以在同一个接口里包含多个方法,想请问多方法有没有额外要注意配置的,还是保持一个方法的配置就好了。