Removing the LiceCycle jars from the lib folder did not work. I still get the same error message.
What I wanted to do is provide some basic utilities, without having to spend a lot of time designing QPAC user interfaces.
My utility class contains methods like this one:
/**
*
* @param pFormData
* @return
* @throws ParserConfigurationException
* @throws SAXException
* @throws IOException
*/
public static
org.w3c.dom.Document formToXml ( FormDataTypeInstanceImpl pFormData )
throws
ParserConfigurationException, SAXException, IOException {
byte
[] data = pFormData.getXFAData () ;
InputStream objXMLInputStream =
new
ByteArrayInputStream ( data ) ;
// create new Document object
DocumentBuilderFactory objFactory = DocumentBuilderFactory.newInstance () ;
DocumentBuilder objBuilder = objFactory.newDocumentBuilder () ;
org.w3c.dom.Document objDocument = objBuilder.parse ( objXMLInputStream ) ;
return
objDocument;
}
|
Even without ever invoking the aforementioned method, I get the error
NoClassDefFound: FormDataTypeInstanceImpl
. Which is pretty weird.
Do I have to write my own classloader?
Steve