In MuleSoft.U Development Fundamentals Walkthrough 8-1, step 39, I am trying to deploy the project but it fails. The console shows the following error:
ERROR 2019-04-24 17:02:29,203 [WrapperListener_start_runner] [event: ] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication: null org.mule.runtime.api.exception.MuleRuntimeException: There was '1' error while parsing the given file 'implementation.xml'. Full list: org.xml.sax.SAXParseException; systemId: http://www.mulesoft.org/schema/mule/american-flights-api/current/mule-american-flights-api.xsd; lineNumber: 186; columnNumber: 50; sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://www.mulesoft.org/schema/mule/american-flights-api,java.lang.StringEnumType'.
As stated in this topic: https://forums.mulesoft.com/questions/105886/mulesoftu-dev-fund-mule-4-wt-81-error-a-schema-can.html?childToView=106391#answer-106391
I have tried to change the enum types in the design center (and then import that to the project), but it continues to fail (same error).
I also checked the schema files in the xml of my implementation, they are the correct number of schemas, and none of them is doubled.
It seems that the problems start when I connect my project to the api in anypoint exchange. However, that api works fine, i've used it before.