|
From: Colin S. <col...@ex...> - 2004-06-24 13:14:27
|
Very weird. I had no problems last night running tests via ant, and no problem after a fresh update 30-45 min ago... jas...@ma... wrote: > > On 24 Jun 2004, at 13:47, jürgen höller [werk3AT] wrote: > >> Seems to be a classloading problem... maybe an incompatible CGLIB >> version somewhere else in the classpath? > > > BTW the failure when running the tests via Ant doesn't have anything > to do with Maven versions or CLASSPATHs AFAIK... (BTW the stuff in > lib/ext was put there by Apple, not me) > > > macstrac:~/cvs/spring jstrachan$ echo $CLASSPATH > > macstrac:~/cvs/spring jstrachan$ ls $JAVA_HOME/lib/ext > apple_provider.jar ldapsec.jar > localedata.jar sunjce_provider.jar > macstrac:~/cvs/spring jstrachan$ ant tests > Buildfile: build.xml > > compileattr: > [attribute-compiler] Generated attribute information for 0 classes. > Ignored 0 classes. > > build: > > buildmock: > > compiletestattr: > [attribute-compiler] Generated attribute information for 0 classes. > Ignored 1 classes. > > buildtests: > > tests: > [junit] Running > org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest > s > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.857 > sec > [junit] Testsuite: > org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest > s > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.857 > sec > [junit] ------------- Standard Output --------------- > [junit] before() method is called on > org.springframework.aop.SimpleBeforeAdviceImpl > [junit] ------------- ---------------- --------------- > > [junit] Testcase: > testAdvisorAdapterRegistrationManagerNotPresentInContext took 6.149 sec > [junit] Testcase: > testAdvisorAdapterRegistrationManagerPresentInContext took 0.448 sec > [junit] Running > org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.344 > sec > [junit] Testsuite: > org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.344 > sec > > [junit] Testcase: testNoHandlerMethods took 0.808 sec > [junit] Testcase: testNotInvoked took 0.161 sec > [junit] Testcase: testNoHandlerMethodForThrowable took 0.002 sec > [junit] Testcase: testCorrectHandlerUsed took 0.004 sec > [junit] Testcase: testCorrectHandlerUsedForSubclass took 0.002 sec > [junit] Testcase: testHandlerMethodThrowsException took 0.002 sec > [junit] Running > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.277 > sec > [junit] Testsuite: > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.277 > sec > > [junit] Testcase: testDefaultExclusionPrefix took 2.65 sec > [junit] Caused an ERROR > [junit] Error creating bean with name 'rollback' defined in class > path resource [org/springframework/aop/framework/autoproxy/ > advisorAutoProxyCreator.xml]: Initialization of bean failed; nested > exception is org.aopalliance.aop.AspectException: null > [junit] org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'rollback' defined in class path > resource [org/springframework/aop/framework/autoproxy/ > advisorAutoProxyCreator.xml]: Initialization of bean failed; nested > exception is org.aopalliance.aop.AspectException: null > [junit] java.lang.IllegalStateException: Callback > Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to > Lnet/sf/cglib/proxy/MethodInterceptor; > [junit] at > net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > [junit] at > net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > [junit] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > [junit] at > org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy > .java:170) > [junit] at > org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy > .java:135) > [junit] at > org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.jav > a:63) > [junit] at > org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.pos > tProcessAfterInitialization(AbstractAutoProxyCreator.java:256) > [junit] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableB > eanFactory.java:165) > [junit] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.createBean(AbstractAutowireCapableBeanFactory.java:265) > [junit] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.createBean(AbstractAutowireCapableBeanFactory.java:187) > [junit] at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab > stractBeanFactory.java:159) > [junit] at > org.springframework.beans.factory.support.DefaultListableBeanFactory.pre > InstantiateSingletons(DefaultListableBeanFactory.java:183) > [junit] at > org.springframework.context.support.AbstractApplicationContext.refresh(A > bstractApplicationContext.java:279) > [junit] at > org.springframework.context.support.ClassPathXmlApplicationContext.<init > >(ClassPathXmlApplicationContext.java:58) > [junit] at > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > .getBeanFactory(AdvisorAutoProxyCreatorTests.java:52) > [junit] at > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > .testDefaultExclusionPrefix(AdvisorAutoProxyCreatorTests.java:56) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > [junit] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > > > BUILD FAILED > file:/Users/jstrachan/cvs/spring/build.xml:479: Test > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > failed > > Total time: 53 seconds > > > James > ------- > http://radio.weblogs.com/0112098/ > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |