微信如何建立网站,wordpress弹窗登录注册,视频拍摄脚本怎么写,响应式网站 框架文章目录一、分析定位1.异常现象2. 分析定位二、解决方案2.1.找坐标2.3. 找jar包2.3. 打开jar包2.4. 找目录2.5. 编辑customEditors.xml一、分析定位
1.异常现象
cannot convert value of type ‘org.codehaus.xfire.spring.editors.ServiceFactoryEditor
2. 分析定位
原因…
文章目录一、分析定位1.异常现象2. 分析定位二、解决方案2.1.找坐标2.3. 找jar包2.3. 打开jar包2.4. 找目录2.5. 编辑customEditors.xml一、分析定位
1.异常现象
cannot convert value of type ‘org.codehaus.xfire.spring.editors.ServiceFactoryEditor
2. 分析定位
原因是Spring4.0和xfire1.2.6有版本冲突
二、解决方案
2.1.找坐标
找到xfire-spring-1.2.6.jar包的maven坐标 dependencygroupIdorg.codehaus.xfire/groupIdartifactIdxfire-all/artifactIdversion1.2.6/version/dependency2.3. 找jar包
在本地仓库中根据maven坐标找xfire-spring-1.2.6.jar
2.3. 打开jar包
利用好压打开
2.4. 找目录
进入xfire-all-1.2.6.jar\org\codehaus\xfire\spring文件夹下面
2.5. 编辑customEditors.xml 修改xfire-spring-1.2.6.jar中的org/codehaus/xfire/spring/customEditors.xml文件将 map /map中的内容做一下调整替换成下面的内容
原文 entry keyorg.codehaus.xfire.service.ServiceFactorybean classorg.codehaus.xfire.spring.editors.ServiceFactoryEditorproperty nametransportManager refxfire.transportManager //bean/entry
替换成
entry keyorg.codehaus.xfire.service.ServiceFactory valueorg.codehaus.xfire.spring.editors.ServiceFactoryEditor/entry。。。。 调整完毕后点击左上角文件-保存 点击右上角文件-x号关闭此页面 确定 完毕