Skip to Content
Former Member
Mar 22, 2004 at 03:22 PM

Problem displaying XML data on Iview


I am trying to parse an xml document using DOM parser and display the data on an iview.The development environment I have is SAP PDK 5.0.6 and tomcat version 3.3.1. I am able to run the java class parsing the xml file as a standalone program on eclipse.

But when I try to invoke the same java class from the iview, it is throwing the following error

"<b>java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl</b>".

The iview gets displayed without any problem, but due to the error thrown, I can't get any data to be displayed on the JSP page. This error is thrown on tomcat server window.

I have declared TOMCAT_HOME as an environment variable and set the path. I would greatly appreciate any help to resolve this issue.