Hi,

We have a generated java bean files using xsd.

Now we want to upgrade from 4 --> 5. I switched depdency in my pom.xml for the 
project and I get the following error message in multiple places in Eclipse.

Example:

HelloDocument helloDocument = HelloDocument.Factory.newInstance();

Error message in Eclipse:

Type mismatch: cannot convert from XmlObject to HelloDocument

The HelloDocument is an XmlObject

public abstract interface x0.ietfParamsXmlNsNetconfBase1.HelloDocument extends 
org.apache.xmlbeans.XmlObject {

}


  1.  Any ideas why I get this in version 5?
  2.  Is there a remedy for this?
  3.  Is there a change in the factory?


Br,

//mike


Reply via email to