I get the following error when attempting to use the "Browse" button. I'm using Tomcat 7.0.21 with JD 1.6.
Sep 8, 2011 3:54:47 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
at com.ckfinder.connector.configuration.Configuration.init(Configuration.java:164)
at com.ckfinder.connector.ConnectorServlet.init(ConnectorServlet.java:272)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:836)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
Any suggestions or tips greatly appreciated.
Steve
Sep 8, 2011 3:54:47 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
at com.ckfinder.connector.configuration.Configuration.init(Configuration.java:164)
at com.ckfinder.connector.ConnectorServlet.init(ConnectorServlet.java:272)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:836)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
Any suggestions or tips greatly appreciated.
Steve
Re: Xerces error (CKFinder Java)
Re: Xerces error (CKFinder Java)
I had a very old version of xerces.jar in my webapp WEB-INF/lib folder and tried replacing it with the latest jars (xercesImp-2.7.0.jar and xml-apis.jar) but I still get the same error.
Thanks,
Steve
Re: Xerces error (CKFinder Java)
Maybe the jar you replaced is still somewhere in the Tomcat's cache (work dir)?
Re: Xerces error (CKFinder Java)
Most likely version of xerces.jar or xercesImpl.jar that is in your web application in not in compliance with the one from java.
From what I know the solutions to this problem are :
Remove/Update xerces.jar or xercesImpl.jar from your web application
Place xerces.jar or xercesImpl.jar that you want to use in tomcat: $CATALINA_HOME/common/endorsed
Some information about Xerces were also mentioned in tomcat local docs (maybe it will be usefull): $CATALINA_HOME/webapps/docs/class-loader-howto.html
Re: Xerces error (CKFinder Java)