Chinaunix首页 | 论坛 | 博客
  • 博客访问: 390167
  • 博文数量: 80
  • 博客积分: 2682
  • 博客等级: 少校
  • 技术积分: 907
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-16 09:55
文章分类

全部博文(80)

文章存档

2012年(80)

分类: 系统运维

2012-12-12 15:41:37

注意  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) |
给主人留下些什么吧!~~