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 baidu.com by Unknown author, 1 year ago
The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
via Oracle Community by 843834, 2 years 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 Stack Overflow by Tuhin Subhra Dey
, 2 years ago
The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,
via Coderanch by Sowrabha, 1 year ago
The content of element type "definition" must match "(icon?,display-name?,description?,put*,putList*)".
via Coderanch by Venkatesh Kumar, 1 year ago
Element type "plug-in" must be declared.
org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)