I'm trying to create Mule 4 service template and trying to invoke java method but getting below error:-
org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 140; cvc-complex-type.2.4.a: Invalid content was found starting with element 'java:invoke-static'. One of '{"http://www.mulesoft.org/schema/mule/core":abstract-message-processor, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-message-processor}' is expected.
I've update the mule-artifact.json :-
{
"configs": [
"implementationservice.xml","globals.xml"
],
"secureProperties": [],
"redeploymentEnabled": true,
"name": "implementationservice",
"minMuleVersion": "4.1.4",
"requiredProduct": "MULE_EE",
"classLoaderModelLoaderDescriptor": {
"id": "mule",
"attributes": {
"exportedResources": [],
"exportedPackages": ["Utilities.systemInfo"]
}
},
"bundleDescriptorLoader": {
"id": "mule",
"attributes": {}
}
}