Hi all,

when I try to compile inside or outside Eclipse following test code

    @Test
    public void testSendOut() throws Exception {
.......
        EasyMock.expect(method.getDeclaringClass()).andStubReturn(

(Class<?>)org.apache.servicemix.cxf.transport.nmr.Greeter.class);
.......

I get following compiler Error.....

[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
D:\projects\filekeys\tools\apache\apache-servicemix-4.1.0.2-fuse\src\cxf\cxf-transport-nmr\src\test\java\org\apache\servicemix\cxf\transport\nmr\NMRConduitTest.java:[74,51]
andStubReturn(jav
a.lang.Class<capture#993 of ?>) in
org.easymock.IExpectationSetters<java.lang.Class<capture#993 of ?>>
cannot be applied to (java.lang.Class<capture#696 of ?>)

It is the only compiler error I get! I was sittng for hours trying to
figure out what happens here, but couldnt.

Any help is highly appreciated!!

Good night
Michael

-- 
Filekeys Ltd.
Michael Roepke
Praça da Alegria 18, 4D
1250-004 Lisboa, Portugal
www.filekeys.com
+351 96 75 93 528
+49 178 391 38 38

Reply via email to