恩,是的,的确是,只能用cglib代理,为什么我的代码不行呢?报错,烦

解决方案 »

  1.   

    我有如此错误信息,请专家不吝赐教,多谢!:2006-12-15 14:20:14 org.springframework.aop.framework.DefaultAopProxyFactory <clinit>
    信息: CGLIB2 not available: proxyTargetClass feature disabled
    2006-12-15 14:20:15 org.springframework.core.CollectionFactory <clinit>
    信息: JDK 1.4+ collections available
    Exception in thread "main" org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
    at org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:72)
    at org.springframework.aop.framework.AdvisedSupport.createAopProxy(AdvisedSupport.java:487)
    at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
    at com.apress.prospring.aop.DynamicPointcutExample.main(DynamicPointcutExample.java:19)
      

  2.   

    JRun装在XP不能启动服务,是不是不能用于XP系统?