On Tuesday, June 19, 2012 03:24:27 PM Néstor Boscán wrote: > Hi > > The CXF FAQ says that it is compatible with JDK 5. But I'm getting the > following error with JDK 5 when running a Web Service Client: > > java.lang.NoSuchMethodError: javax.jws.WebResult.header > > If I use JDK 6 it works. Is there an earlier version of CXF that is > compatible with JDK 5?
That class does not exist in the Java5. Thus, something on the classpath is introducing that class into the Java5 environment. (it should be the jaxws-api jar CXF ships) Check the classpath and the jre/lib/endorsed dirs for anything that may be introducing that class and make sure you use the version that CXF ships instead. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
