注意 :将 xml-apis.jar 和 xercesImpl.jar 这两个放到对应lib目录即可(或者加入classpath);
不
然报错 : Unable to validate using XSD: Your JAXP provider
[org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@18aaa1e] does not
support XML Schema. Are you running on Java 1.4 or below with Apache
Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support
1、Spring 1.X中使用的传统方式
class="org.springframework.aop.framework.ProxyFactoryBean">
org.readyesb.web.services.dataprovider.interfaces.DataProvider
theAdvisor
class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
.*org.readyesb.web.services.dataprovider.interfaces.DataProvider.*
class="org.readyesb.exception.FaultException" />
2、Spring 2.X Schema-based AOP support
xmlns:xsi=""
xmlns:aop=""
xsi:schemaLocation="
/spring-beans-2.0.xsd
/spring-aop-2.0.xsd">
3、Spring 2.X Schema-based AOP support - Advisors
xmlns:xsi=""
xmlns:aop=""
xsi:schemaLocation="
/spring-beans-2.0.xsd
/spring-aop-2.0.xsd">
阅读(869) | 评论(0) | 转发(0) |