修正Elcipse下ActiveMQ的XML配置文件的cvc-complex-type.2.4错误。
ActiveMQ的发布包里利用Spring的Spring.Handlers和Spring.schemas,将XML配置文件的Schema转置到jar包里的activemq.xsd文件,但是这也造成了Eclipse无法正确校验配置文件,而报告cvc-complex-type.2.4错误,另外,在ActiveMQ的配置文件里的schemaLocation只能千古不变的写上:
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
Location:jar:file:<path for activemq>\activemq-core-5.3.0.jar!/activemq.xsdkey type: Namespace Namekey:http://activemq.apache.org/schema/core
Location:jar:file:<path for activemq>\activemq-core-5.3.0.jar!/activemq.xsdkey type: Schema Locationkey:http://activemq.apache.org/schema/core/activemq-core.xsd