Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to initialize Struts ActionServlet IllegalAccessError

Status
Not open for further replies.

DuhDuhDuh

Programmer
Apr 10, 2006
1
US
Hello,

Tomcat 5.5.9 is obtaining the following error on startup during the deplyment of the test.war:

INFO: Deploying web application archive test.war
Apr 10, 2006 10:26:12 AM org.apache.struts.action.ActionServlet init
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
java.lang.IllegalAccessError: tried to access method org.apache.xerces.impl.xs.SchemaGrammar.<init>()V from class org.apache.xerces.impl.xs.SchemaGrammar$BuiltinSchemaGrammar
at org.apache.xerces.impl.xs.SchemaGrammar$BuiltinSchemaGrammar.<init>(SchemaGrammar.java)
at org.apache.xerces.impl.xs.SchemaGrammar.<clinit>(SchemaGrammar.java:629)
at org.apache.xerces.impl.xs.XMLSchemaValidator.finit$(XMLSchemaValidator.java:1112)
at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(XMLSchemaValidator.java)
at org.apache.xerces.parsers.StandardParserConfiguration.configurePipeline(StandardParserConfiguration.java:275)
at org.apache.xerces.parsers.DTDConfiguration.reset(DTDConfiguration.java:629)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:502)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1142)
at org.apache.commons.digester.Digester.parse(Digester.java:1572)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)

* * * * * * * * * * * * * * * * * * * * * * * * * * * *

Any ideas on how I can determine this error's cause? Thanks in advance,

Newbie Tomcat User.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top