<DIV>Hello All,</DIV>
<DIV> </DIV>
<DIV>I have created a mastertemplate, a frametemplate and a contenttempate..all this as shown in the documentation ...with the same piece of code. <FONT color=#ff409f>I am using version 5.0</FONT></DIV>
<DIV><FONT color=#ff409f></FONT> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>But when i say finish it, gives the following Exception and fails to create a new page.</DIV>
<DIV> </DIV>
<DIV>"
<P><FONT color=#ff0000><B><FONT style="BACKGROUND-COLOR: #525d76">type</FONT></B> Exception report</FONT></P>
<P><FONT color=#ff0000><B><FONT style="BACKGROUND-COLOR: #525d76">message</FONT></B> <U></U></FONT></P>
<P><FONT color=#ff0000><B><FONT style="BACKGROUND-COLOR: #525d76">description</FONT></B> <U>The server encountered an internal error () that prevented it from fulfilling this request.</U></FONT></P>
<P><FONT color=#ff0000><B><FONT style="BACKGROUND-COLOR: #525d76">exception</FONT></B> </FONT><PRE><FONT color=#ff0000>javax.servlet.ServletException: Servlet execution threw an exception
</FONT></PRE>
<P><FONT color=#ff0000></FONT></P>
<P><FONT color=#ff0000><B><FONT style="BACKGROUND-COLOR: #525d76">root cause</FONT></B> </FONT><PRE><FONT color=#ff0000>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)
</FONT></PRE>
<P><FONT color=#ff0000></FONT></P>
<P><FONT color=#ff0000><B><FONT style="BACKGROUND-COLOR: #525d76">note</FONT></B> <U>The full stack trace of the root cause is available in the Tomcat logs.</U></FONT></P></DIV>
<DIV> </DIV>
<DIV>"</DIV>
<DIV> </DIV>
<DIV>Can some one please tell me why this happens and what can i do to successfully create a page</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Asawari Pujari</DIV><p>
<hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/virus/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail</a> - Helps protect you from nasty viruses.