org.xml.sax.SAXParseException: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'matchingRuleType'.

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 Oracle Community by Ilario S., 1 year ago
cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'matchingRuleType'.
via GitHub by bradleybeddoes
, 1 year ago
nGFP7EzBk76xgEs5E8gVXMOyqkaBALHktb95PzmN5g3nYBVeZFpbuwN1YcBw2rDX h6Qs+b+eu9cdDXl5sfiI5cCJuwBtNzFKIIU8T4m8xFcZkuwozTCoXxlj+ufgyN4Z nFDBFcQlKQHVnv2QNvYIgpc4/9DZmB4Jj5Jwu9sQz5pUtA4Pge1qAZ1aizl34i3L SEBurA== -----END CERTIFICATE----' is not a valid value for 'base64Binary'.
via Stack Overflow by insaneyogi
, 2 years ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'jdbc:xml-to-maps-transformer'. One of ' is expected.
via oschina.net by Unknown author, 2 years ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'data-mapper:config'. One of '{"http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema
via oschina.net by Unknown author, 2 years ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'data-mapper:config'. One of '{"http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema
via Stack Overflow by minh
, 1 year ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'poll'. One of '{"http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context
org.xml.sax.SAXParseException: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'matchingRuleType'.
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.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.endElement(ValidatingUnmarshaller.java:106)
at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.endElement(InterningXmlVisitor.java:81)
at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConnector.java:158)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:255)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 week ago
2 times, 3 weeks ago
2 times, 3 weeks ago
7 times, 6 months ago
2 times, 6 months ago

Write tip

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