微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

关于在搭建基础dubbo类项目时,出现nested exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSeque

1.检查项目的全局编码,是否为统一的utf-8

 

2.配置下的dubbo.xml文件,<beans>中的内容不为

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

而是更改为
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">

3.占用了以使用的maven中的文件,需要开立新的maven存储路径。重新在盘中开立一个新的存储区,就可以了。

 

 

绝对可行,如果存在其他问题,请给我留言





版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐