org.xml.sax.SAXParseException: The content of element type "mule- configuration" must match "(description?,environment-properties?,mule- environment-properties?,container-context*,security- manager?,transaction-manager?,agents?,connector*,endpoint- identifiers?,transformers?,global-endpoints?,interceptor- stack*,model*)".

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

,

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 Google Groups by Angela Stempfel, 2 years ago
The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,security-role-ref*)".
via Google Groups by Angela Stempfel, 1 month ago
The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,security-role-ref*)".
via Coderanch by Baseet Ahmed, 11 months ago
The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*)".
via theserverside.com by Unknown author, 1 year ago
The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter- mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
org.xml.sax.SAXParseException: The content of element type "mule- configuration" must match "(description?,environment-properties?,mule- environment-properties?,container-context*,security- manager?,transaction-manager?,agents?,connector*,endpoint- identifiers?,transformers?,global-endpoints?,interceptor- stack*,model*)".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 days ago
2 times, 2 weeks ago
2 times, 3 weeks ago
7 times, 6 months ago
2 times, 6 months ago
50 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.