On Tuesday 02 September 2008 5:39:12 pm jeet wrote:
> Using cxf 2.1.2 and maven I have generated the java classes from a wsdl.
> But when I deploy the war to Tomcat I am getting the following error:
> ...
> ....
>
> After generating the classes I did move some of the classes to different
> packages. Could this be related to JIRA defect CXF-1624 or am I doing
> something wrong?

Possible.   Luckily, I just fixed it on trunk.   You could try checking out 
the cxf source and building it and trying it.  (I'll try and deploy a new 
snapshot tomorrow)

That said, moving classes around into new packages is asking for problems.   
JAXB stores some information it needs OUTSIDE the class itself.  Primarily in 
the ObjectFactory and the package-info.java.   If you move classes around and 
don't also copy those files along with the class, you're going to have 
problems.


-- 
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to