org.xml.sax.SAXParseException: The content of element type "distributable" must match "EMPTY".

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 portals-pluto-user by Elliot Metsger, 4 months ago
The content of element type "distributable" must match "EMPTY".
via portals-pluto-user by Ludovic DAUCHY, 1 year ago
The content of element type "distributable" must match "EMPTY".
via Coderanch by kiran raj, 11 months ago
The content of element type "action-mappings" must match "(action)*".
via Google Groups by Cédric Beust ♔ , 4 months ago
The content of element type "classes" must match "(class)*".
via Google Groups by Juergen, 2 years 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*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-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*)".
org.xml.sax.SAXParseException: The content of element type "distributable" must match "EMPTY".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 days ago
2 times, 3 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.