我正在创建一个应用程序。运行命令<0.0,1.0>
时,我收到以下错误:
grails run-app
我在以下链接中发现了类似的问题:
Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxrs] Unable to locate Spring NamespaceHandler for XML schema namespace Error in Terminal
但我的类路径中已经有2016-05-27/12:03:46.472 [localhost-startStop-1] ERROR context.ContextLoader - Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxrs]
Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
个依赖项和cxf jar。
当我运行intellij 14然后app成功运行时,我没有收到任何错误。
答案 0 :(得分:0)
您是否尝试过包含cxf-rt-frontend-jax w ?