关键词不能为空

当前您在: 主页 > 英语 >

unabletolocatespringnamespacehandlerforxmlschemanamespace问题的

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-13 11:09
tags:

-

2021年2月13日发(作者:recommended)


Unable to locate Spring NamespaceHandler for XML


schema namespace


问题的解决








被这个问题折磨着很久:参考:



/blog/1340777



cfx




spring



合的时候出现的问< /p>



:finiti


onParsingE xception: Configuration problem: Unable to


locate Spring NamespaceHandler for XML schema


namespace [/jaxws]Offending


resource: ServletContext resource [/WEB-INF/]



Key WordsSpring 3.0Apache CXF 2.X.X


昨日,


在原本应用


中添加了关于


webService


的 调用,使用了


Apache CXF



架,并将其集成到了


Spring


中。



当时集成时,使用了如下



jar


包(


)




这就是导致出现


Unable to


locate Spring NamespaceHandler for XML schema


namespace


的问题。




接下来,你可以参考


/questi ons/3650252/problem-starti


ng-spring- application-from-java


你可以选择手工合并所有



rs



s,


或者和我一样换回到


Spring 2.5,


并将< /p>



中的这两个文件重新命名,


然后


不使用


Spring


集成,先让程序跑起来不影 响业务。



参考


/browse/SP R-8368


这里面说的


更加详细一些



With the splitting of Spring Framework into


multiple jar files in v3.0, there are now several files named




normal servlet container, but poses problems when e.g.


creating an executable JAR file from a webapp using an


embedded web server such as Jetty, or running GWT in




The


workaround is to construct your own


these three files, merging all the copies into one like


so://IOUtils and FileUtils come from Apache Commons


IOfor(String s : new String[] {



e =


ssLoader().g etResources(


s);StringBuilder out = new


StringBuilder();while(eElements()) { URL u =


(URL) ement();


(ng(ream())).append(


; }File outf = new File(s);tringToFile(outf,


ng(),


to use a different file-name for each instance of the


schemas/handlers/tooling files. For example, inside



you would find



I'm not sufficiently up-to-speed with the Spring code-base


to give you a patch to do this, however a brief investigation


shows that


specified in


bleSchema


Resolver and DefaultNamespaceHandlerResolver, and


that constructors exist for specifying different locations for


these files. I hope you find this information useful.


或许这


个已经在新版本里面已经


fixed

了,


我已经下了最新的版本,


还没有来得及测试。



如果你也遇到这个问题,


首先恭喜你。



其次,你可以按照以上的方式做一个



“your own


version of these three files”,使用



//IOUtils and FileUtils


come from Apache Commons IOfor(String s : new String[]


{


{



Enumeration<?> e =


ssLoader().getResources(


s);



StringBuilder out = new

-


-


-


-


-


-


-


-



本文更新与2021-02-13 11:09,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/649654.html

unabletolocatespringnamespacehandlerforxmlschemanamespace问题的的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文
unabletolocatespringnamespacehandlerforxmlschemanamespace问题的随机文章