Unable to locate Spring NamespaceHandler for XML schema namespace 解决

Eclipse encountered the following error when running the project

[2017-07-25 05:17:02:002 CST] main ERROR context.ContextLoader: Context initialization failed

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [rabbitmq-config.xml]

Offending resource: class path resource [META-INF/application.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/rabbit]

Offending resource: class path resource [META-INF/rabbitmq-config.xml]

 

Check the following options in the eclipse startup interface to solve the problem

 



 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327071242&siteId=291194637