aspose file tools*
The moose likes XML and Related Technologies and the fly likes Problem with xml-apis.jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problem with xml-apis.jar file" Watch "Problem with xml-apis.jar file" New topic
Author

Problem with xml-apis.jar file

kavitha ananya
Greenhorn

Joined: May 07, 2008
Posts: 4
Hi,

I am facing a strange kind of problem.... I have written a code for conversion of xml file to pdf file.. The code written for this is working fine in a standalone application. But when I implemented this code with the project, I am getting the following error in the UI butnot in console..

"javax.servlet.ServletException: Error calling action method of component with id searchInvoiceResult:userSearchResult:_id94
javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)............"

After debugging a lot, I found that this message is getting displayed because of the xml-apis.jar file placed in the Tomcat\commons\endorsed folder. If I remove this jar file from this folder it is working fine... I am able to generate a pdf file..

I tried adding the same jar file into the lib folder of the project, but even tehn I am getting the same error...

This jar file is needed in the Tomcat \common\endorsed folder, as I am using the same server for my other projects also.. Could you please tell me as to what can be done on this...

The project what I am workingon makes use of AJAX, hibernate and Struts...

Thanks in advance
KK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with xml-apis.jar file