[ 
https://issues.apache.org/jira/browse/CXF-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681038#action_12681038
 ] 

Benson Margulies commented on CXF-2093:
---------------------------------------

I'm not succeeding in getting this running under Eclipse. I get the following. 
I do end up with Spring 2.5.6 in the classpath.

java.lang.NoSuchMethodError: 
org.springframework.core.annotation.AnnotationUtils.findAnnotationDeclaringClass(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
        at 
org.springframework.test.context.TestContext.retrieveContextLocations(TestContext.java:144)
        at 
org.springframework.test.context.TestContext.<init>(TestContext.java:110)
        at 
org.springframework.test.context.TestContextManager.<init>(TestContextManager.java:103)
        at 
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTestContextManager(SpringJUnit4ClassRunner.java:120)
        at 
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<init>(SpringJUnit4ClassRunner.java:80)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at 
org.junit.internal.requests.ClassRequest.buildRunner(ClassRequest.java:33)
        at 
org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:28)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:28)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:24)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:40)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:30)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)



> CXF Compatiblity
> ----------------
>
>                 Key: CXF-2093
>                 URL: https://issues.apache.org/jira/browse/CXF-2093
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.9, 2.1.3, 2.0.10, 2.1.4, 2.2, 2.1.5
>            Reporter: Brian Relph
>            Assignee: Benson Margulies
>         Attachments: cxf-test-case.zip
>
>
> The attached projects attempt to illustrate the compatibility problems 
> between CXF versions.  The projects also illustrate some bugs within each CXF 
> code branch.  Hopefully these test projects can help to identify the bugs.
> The -service projects are wars.  They each contain a test that starts the 
> war, generates a client, and runs each service method.  The wars can also run 
> standalone with 'mvn jetty:run', and you can run the -client projects tests 
> against it.
> The -client projects contains a test that creates a client, and attempts to 
> run each service method against a localhost:8080 server.
> Here is an overview of the current compatibility with the supplied projects:
> 2.0 Service
> ----------------
> 1.  2.0 Client:  The client throws a null-pointer exception when creating the 
> Aegis databinding at 
> org.apache.cxf.aegis.type.basic.BeanTypeInfo.getType(BeanTypeInfo.java:199).
> 2.  2.1 Client:  The client  throws a null-pointer exception when creating 
> the Aegis databinding at 
> org.apache.cxf.aegis.type.basic.BeanType.getMinOccurs(BeanType.java:775).
> 3.  2.2 Client:  The client cannot send any method arguments (all methods 
> receive null-valued arguments.
> 2.1 Service
> ----------------
> 1.  2.0 Client:  The client throws a null-pointer exception when creating the 
> Aegis databinding at 
> org.apache.cxf.aegis.type.basic.BeanTypeInfo.getType(BeanTypeInfo.java:199).
> 2.  2.1 Client:  The client  throws a null-pointer exception when creating 
> the Aegis databinding at 
> org.apache.cxf.aegis.type.basic.BeanType.getMinOccurs(BeanType.java:775).
> 3.  2.2 Client:  The client cannot send any method arguments (all methods 
> receive null-valued arguments.
> 2.2 Service
> ----------------
> 1.  2.0 Client:  The client throws a null-pointer exception when creating the 
> Aegis databinding at 
> org.apache.cxf.aegis.type.basic.BeanTypeInfo.getType(BeanTypeInfo.java:199).
> 2.  2.1 Client:  The client  throws a null-pointer exception when creating 
> the Aegis databinding at 
> org.apache.cxf.aegis.type.basic.BeanType.getMinOccurs(BeanType.java:775).
> 3.  2.2 Client:  All tests pass.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to