我的xsd文件位于目录\ WEB-INF \ xsd-file中。如何在beans.xml中引用此路径?我试过这个但是我得到了#34;无法阅读架构文档' /WEB-INF/xsd_files/spring-beans-2.5.xsd' ;,因为1)找不到文件; 2)文件无法阅读; 3)文档的根元素不是。>"
目前我尝试过这样:
的xsi:的schemaLocation =" HTTP://www.springframework.org/schema/beans /WEB-INF/xsd_files/spring-beans-2.5.xsd http://cxf.apache.org/jaxws /WEB-INF/xsd_files/jaxws.xsd http://www.springframework.org/schema/context /WEB-INF/xsd_files/spring-context-3.0.xsd" >