• 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

Tomcat chokes on Struts Validator Plug-In

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to get the Validator working in my Struts application. The following is the last element in my struts-config.xml:

When I start Tomcat I get the following error:SEVERE: Parse Error at line 81 column 70: Attribute "className" is required and must be specified for element type "plug-in".
org.xml.sax.SAXParseException: Attribute "className" is required and must be specified for element type "plug-in".
Can anyone give me hint about what I'm doing wrong?
Thanks!
Marcellus Tryk
[ January 26, 2003: Message edited by: Marcellus Tryk ]
 
Marcellus Tryk
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I discovered the problem - namely I'm a dork! The error message is pointing right to the problem but I just couldn't see it - I had 'classname' instead of 'className'. I think I didn't see it because I copied and pasted from an example on a website and therefore expected it to be correct.
- Marcellus
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic