Looks like moving the classes out of the originial package was the issue.
Once I kept them all in the same package where they were generated, the
error went way.

Thanks a lot Daniel.


dkulp wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Schema-name-conflict-in-collection-ERROR-tp19278966p19290040.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to