[opencms-dev] New page cannot be created

asawari pujari asawari_bhalchandra at yahoo.com
Tue Jan 11 07:27:01 CET 2005


Hello All,
 
I have created a mastertemplate, a frametemplate and a contenttempate..all this as shown in the documentation ...with the same piece of code. I am using version 5.0
 
At the last step it says that a page has to be created in the root folder.I Enter the required information in new file dialog box.The master template that i craeted is also there in the template list.
 
But when i say finish it, gives the following Exception and fails to create a new page.
 
"
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 
javax.servlet.ServletException: Servlet execution threw an exception



root cause 
java.lang.NoSuchMethodError: org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;	com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.java:193)	com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:131)	com.opencms.workplace.CmsNewResourcePage.createPagefile(CmsNewResourcePage.java:118)	com.opencms.workplace.CmsNewResourcePage.getContent(CmsNewResourcePage.java:194)	com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)	com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)	com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)	com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)	com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)	com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)	com.opencms.core.OpenCms.showResource(OpenCms.java:961)
	com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)



note The full stack trace of the root cause is available in the Tomcat logs.

 
"
 
Can some one please tell me why this happens and what can i do to successfully create a page
 
Regards,
Asawari Pujari

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050110/3d5694b0/attachment.htm>


More information about the opencms-dev mailing list