[opencms-dev] Beginner with Java exception problem ..."getEncoding()Ljava/lang/String"

Peter Sorrentino opencms at sebosis.com
Thu Feb 5 02:54:02 CET 2004


Hello everyone,

I just started trying out OpenCMS and have run into a problem I suspect
maybe a setup issue.  I am using Windows 2000 Pro, mysql-4.0.17-win,
j2sdk-1_4_2-nb-3_5_1-bin-windows, jakarta-tomcat-4.1.29 and
opencms_fat_5.0.1.  I followed the server setup instructions on the OpenCMS
website - the tests for mysql and tomcat all passed.

I can login to opencms with
http://localhost:8080/opencms/opencms/system/login/ Admin, admin.  Switching
from online to offline, going into admin and doing misc things,  all seem to
work fine.

 The problem (root cause) I am experiencing is a an exception (see below)
when I try to "edit page" after locking a page.  Did I mess up the Java
install somehow?  Are there some additional classes I need?  The "L" in
between "...getEncoding()" and "java..." looks suspicious.

Thanks,

Peter

P.S.  Sorry if you have seen a different version of this message already.  I
tried to post before I confirmed my request to be on the list and was not
sure if my original message got posted.


java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
at com.opencms.template.CmsXmlXercesParser.getOriginalEncoding
(CmsXmlXercesParser.java:193)
at com.opencms.template.CmsXmlXercesParser.getXmlText
(CmsXmlXercesParser.java:131)
at com.opencms.template.A_CmsXmlContent.getXmlText
(A_CmsXmlContent.java:684)
at com.opencms.template.A_CmsXmlContent.getXmlText
(A_CmsXmlContent.java:673)
...
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
sConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:589)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)




More information about the opencms-dev mailing list