You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by Serkan Taş <se...@hotmail.com> on 2012/03/18 12:33:35 UTC

Re: cxf on tomcat


> Hi, 
> I am getting the following error when i try to execute ;

> Client client = jaxWsDynamicClientFactory.createClient(wsdlHolder.getWsdlUrl());

> Error : Caused by: java.lang.NoSuchMethodException: com.sun.codemodel.internal.JCodeEModel.build(java.lang.Object)

> When i debug, i got that the JCodeModel class is the problem in tomcat deployed app.

> For the working one which is standalone, the class instance is com.sun.codemodel.JCodeModel.

> When i debug on tomcat deployed application,


> the class instance is com.sun.codemodel.internal.JCodeModel which is different.

> Can any body advice me a solution for the problem ?

> Thanx.