rbojja Posted July 15, 2008 Share Posted July 15, 2008 java.lang.IllegalAccessError: tried to access field org.apache.commons.digester.Digester.log from class org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule.body(SetNestedPropertiesRule.java:393) org.apache.commons.digester.Rule.body(Rule.java:240) org.apache.commons.digester.Digester.endElement(Digester.java:1028) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.commons.digester.Digester.parse(Digester.java:1548) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152) net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:151) com.osi.pos.common.util.PrintMoveOrder.printMethod(PrintMoveOrder.java:34) com.osi.pos.moveOrders.action.SendMoveOrderAction.execute(SendMoveOrderAction.java:157) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) this is the error i am facing .Any one help me plzI am using j2sdk1.4.2_05 and jboss-4.0.0RC2.I am stuck on my deployment with this error? Link to comment Share on other sites More sharing options...
dnvsrikanth Posted July 15, 2008 Share Posted July 15, 2008 Hi, Use latest jar files for all the Apache Commons jar files you are using in your application. This may solve the problem. DNV Srikanth Link to comment Share on other sites More sharing options...
rbojja Posted July 15, 2008 Author Share Posted July 15, 2008 its not resolved friend.i imported all new jars. I am using J2sdk1.4.2_05 and jboss-4.0.0RC2. whats the compatible Jasper reports version for this? Do u have any idea abt this? Link to comment Share on other sites More sharing options...
markorocko Posted June 18, 2013 Share Posted June 18, 2013 I don't know if you have the same identical issue. In my case my jasper files were not compiling and I received the same java.lang.IllegalAccessError above. So, I removed jaxen.jar and then my jasper files compiled properly. Jaxen is an xpath parser. So my suspicion is it was taking over as the designated parser but exceptioning out. Once it was out of the way jasper parsing went back to proper parsing.Hope that helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now