It's not a secret anymore!
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

Problem with xml-apis.jar file

kavitha ananya

Joined: May 07, 2008
Posts: 4

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

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
I agree. Here's the link:
subject: Problem with xml-apis.jar file
jQuery in Action, 3rd edition