Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
The content of element type "faces-config" must match "(application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*".
via Oracle Community by 843835, 1 year ago
The content of element type "faces-config" must match "(application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*".
via hivmr.com by Unknown author, 1 year ago
The content of element type "faces-config" must match "(application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*".
via Coderanch by shailesh kumar, 1 year ago
The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-map pings?,controller?,message-resources*,plug-in*)".
via Coderanch by shailesh kumar, 1 year ago
The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-map pings?,controller?,message-resources*,plug-in*)".
via Oracle Community by 801724, 2 years ago
The content of element type "action-mappings" must match "(action)*".
org.xml.sax.SAXParseException: The content of element type "faces-config" must match "(application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*".	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.handleEndElement(Unknown Source)	at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.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:183)	at org.apache.myfaces.config.FacesConfigurator.feedContextSpecifiedConfig(FacesConfigurator.java:398)