SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'objectstore:config'

2.6k Views Asked by At

The error being thrown starts with this:

org.mule.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'objectstore:config'. One of '{"http://www.springframework.org/schema/beans":beans, e.t.c}' is expected.

i have added both, Namespace and Schema Location added in .XML

Does anyone have any suggestions?

Thanks in advance for your help.

Thank you everyone, i have solved this as below Edit: added www.mulesoft.org/schema/mule/objectstore to in schema location along with http://www.mulesoft.org/schema/mule/objectstore/current/mule-objectstore.xsd

2

There are 2 best solutions below

0
Prasad On
1
Naveen Kumar On

Did you change anything in the Configuration xml file, because above mentioned declarations comes default when you create a new flow. Please do check.