• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

commons-digester.jar - Error

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

While starting the Tomcat, I am getting the following error.

org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 3 column 15: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
....
..other error reporting..
....


How to fix it.

Thanks
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this related to Struts somehow? Or do I need to move it to a more appropriate forum?

That said, commons digester is used to parse XML. Struts uses it to parse the struts-config.xml file for example. With that in mind, most likely one of your config files is not valid in some way. Maybe you forgot to close an element or something, it's hard to say. Have a close look at your XML config files, starting with struts-config (assuming that this is in fact a Struts related issue).
 
Bharat Roy
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jason,

Thanks for the reply. I am learning Struts and came across this error, so I posted it in this forum.

I checked struts-config.xml file and found that I had not written <!DOCTYPE > element. It is working perfectly now.

Thanks
Ankur
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic