Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with xml-apis.jar file

kavitha ananya
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic