|
From: Colin S. <col...@ex...> - 2004-06-10 17:02:20
|
Since it does have the version number in it, and things are not=20 backwards compatible, I think in fact it does make sense to rename it. I=20 would however use cglib-2.0.2-dev.jar which seems to be a pretty common convention (with the Maven crowd,=20 among others) for stuff that is not final... Matthew E. Porter wrote: > Should the cglib file be renamed to cglib-2.0.1-mod.jar or something =20 > else? > > > Cheers, > matthew > > On Jun 10, 2004, at 8:43 AM, Colin Sampaleanu wrote: > >> Shishir, >> >> You need to update to the cglib-2.0.1.jar that is currently checked =20 >> into spring CVS. It is _not_ the same as the original=20 >> cglib-2.0.1.jar or the one downloadable from the cglib project site.=20 >> This jar is a snapshot of cglib head. The hope is that by the time=20 >> Spring 1.0.3 is out, the cglib 2.0.2 will be as well, so there won't=20 >> be confusion over the name... >> >> >> Shishir K. Singh wrote: >> >>> Hi, >>> Seems that the new change to =20 >>> "org.springframework.aop.framework.Cglib2AopProxy" ver 1.8 (build =20 >>> 1.0.3) in cvs seems to have broken =20 >>> net.sf.acegisecurity.intercept.method.MethodSecurityInterceptor=20 >>> (the 0.51 release of ACEGI ). >>> >>> Craps out when instantiating the ProxyFactoryBean which has =20 >>> MethodSecurityInterceptor as one of the interceptor. I am not =20 >>> specifying the proxy Interfaces on the ProxyFactoryBean. >>> >>> This works fine with v 1.7 Cglib2AopProxy (release 1.0.2) >>> >>> >>> The stack trace is attached. >>> --------------------------------- >>> >>> Testcase: unknown took 0 sec >>> Caused an ERROR >>> Error creating bean with name 'helperSecurityManager' defined in =20 >>> class path resource [junit/spring/spring-aceig.xml]: Initialization =20 >>> of bean failed; nested exception is =20 >>> org.aopalliance.aop.AspectException: null >>> org.springframework.beans.factory.BeanCreationException: Error =20 >>> creating bean with name 'helperSecurityManager' defined in class=20 >>> path resource [junit/spring/spring-aceig.xml]: Initialization of=20 >>> bean failed; nested exception is=20 >>> org.aopalliance.aop.AspectException: null >>> java.lang.IllegalStateException: Callback =20 >>> Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to =20 >>> Lnet/sf/cglib/proxy/MethodInterceptor; >>> at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) >>> at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) >>> at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) >>> at =20 >>> org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopPr= o=20 >>> xy.java:170) >>> at =20 >>> org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopPr= o=20 >>> xy.java:135) >>> at =20 >>> org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstan= c=20 >>> e(ProxyFactoryBean.java:208) >>> at =20 >>> org.springframework.aop.framework.ProxyFactoryBean.setBeanFactory(Pro= x=20 >>> yFactoryBean.java:175) >>> at =20 >>> org.springframework.beans.factory.support.AbstractAutowireCapableBean= F=20 >>> actory.createBean(AbstractAutowireCapableBeanFactory.java:245) >>> at =20 >>> org.springframework.beans.factory.support.AbstractAutowireCapableBean= F=20 >>> actory.createBean(AbstractAutowireCapableBeanFactory.java:177) >>> at =20 >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean= (=20 >>> AbstractBeanFactory.java:159) >>> at =20 >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.= p=20 >>> reInstantiateSingletons(DefaultListableBeanFactory.java:177) >>> at =20 >>> org.springframework.context.support.AbstractApplicationContext.refres= h=20 >>> (AbstractApplicationContext.java:268) >>> at =20 >>> org.springframework.context.support.ClassPathXmlApplicationContext.<i= n=20 >>> it>(ClassPathXmlApplicationContext.java:68) >>> at =20 >>> com.synapsistech.emars.logic.EmarsFrameworkSetup.setUp(EmarsFramework= S=20 >>> etup.java:32) >>> at junit.extensions.TestSetup$1.protect(TestSetup.java:18) >>> at junit.extensions.TestSetup.run(TestSetup.java:23) >>> at =20 >>> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(Internal= A=20 >>> ntRunner.java:377) >>> at =20 >>> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(Interna= l=20 >>> AntRunner.java:135) >>> ---------------------------------- >>> >>> >>> Thanks >>> Shishir >>> -----Original Message----- >>> From: spr...@li... =20 >>> [mailto:spr...@li...] On =20 >>> Behalf Of j=FCrgen h=F6ller [werk3AT] >>> Sent: Thursday, June 10, 2004 5:00 AM >>> To: spr...@li... >>> Subject: Re: [Springframework-developer] Latest Quartz in CVS >>> >>> Everything should be stable again (and completely backward =20 >>> compatible), so feel free to give it a try! As far as I remember,=20 >>> the org/springframework/scheduling/quartz directory should be=20 >>> enough to patch Spring 1.0.2. Let me know how it works out! >>> Juergen >>> >>> ________________________________ >>> >>> Von: spr...@li... im=20 >>> Auftrag von Shishir K. Singh >>> Gesendet: Do 10.06.2004 10:36 >>> An: spr...@li... >>> Betreff: [Springframework-developer] Latest Quartz in CVS >>> >>> >>> >>> Hi Juergen , >>> >>> Just wanted to know if I can start using the new changes for=20 >>> Quartz. I just want to get the scheduler directory. Are there any=20 >>> other files (outside of scheduler) that I would need to get, in=20 >>> order to use the latest quartz changes ? >>> >>> Thanks >>> Shishir >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! =20 >>> GUADEC: The world's #1 Open Source Desktop Event. >>> GNOME Users and Developers European Conference, 28-30th June in =20 >>> Norway http://2004/guadec.org =20 >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework-develope= r >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! =20 >>> GUADEC: The world's #1 Open Source Desktop Event. >>> GNOME Users and Developers European Conference, 28-30th June in =20 >>> Norway http://2004/guadec.org =20 >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework-develope= r >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: GNOME Foundation >>> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. >>> GNOME Users and Developers European Conference, 28-30th June in Norwa= y >>> http://2004/guadec.org >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework-develope= r >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: GNOME Foundation >> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. >> GNOME Users and Developers European Conference, 28-30th June in Norway >> http://2004/guadec.org >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer > |