Hello,

 

I’m using xmlbeans-2.0.0 and encountering:

 

java.lang.ClassCastException: org.apache.xmlbeans.impl.values.XmlComplexContentImpl

 

when attempting to invoke the generated class’ addNew method.  The XSD used as input into the xmlbean ant task is rather long, so I’m choosing not to include it for now.

 

It seems as though all of my xmlbeans generated *Impl.java class which extend org.apache.xmlbeans.impl.values.XmlComplexContentImpl throw this exception when invoking the addNew method or the Factory.newInstance() method??

 

Any help is greatly appreciated.

 

Thank a lot!

 

Andy

 

Reply via email to