1 Reply Latest reply on Mar 18, 2012 9:51 PM by EJP

    Parse Error while Reading config /WEB-INF/faces-config.xml

    924678
      Hi All,

      I am getting following error while starting my tomcat server ; My application is JSF application


      ERROR - Parse Error at line 11 column 20: Element type "resource-bundle" must be declared.
      org.xml.sax.SAXParseException: Element type "resource-bundle" must be declared.
           at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
           at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
           at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
           at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
           at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
           at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
           at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
           at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
           at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
           at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
           at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
           at org.apache.commons.digester.Digester.parse(Digester.java:1572)
           at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:186)
           at org.apache.myfaces.config.FacesConfigurator.feedWebAppConfig(FacesConfigurator.java:541)
           at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:133)
           at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
           at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
           at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
           at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
           at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
           at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
           at java.util.concurrent.FutureTask.run(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)


      Any one may help me to resolve the issue

      Thanks
      Ashutosh