1.检查项目的全局编码,是否为统一的utf-8 2.配置下的dubbo.xml文件,beans中的内容不为beans xmlns=http://www.springframework.org/schema/beans xmlns:xsi=http://www.w3.org/2001/XMLSchema-instanc...

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存储路径。重新在盘中开立一个新的存储区,就可以了。
绝对可行,如果存在其他问题,请给我留言
原文:https://www.cnblogs.com/LiangPF/p/11519981.html
本文标题为:关于在搭建基础dubbo类项目时,出现nested exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1 字节的 UTF-8 序列的字节 X无效类问题解决方案。


- IIS搭建ftp服务器的详细教程 2022-11-15
- 教你在docker 中搭建 PHP8 + Apache 环境的过程 2022-10-06
- CentOS_mini下安装docker 之 安装docker CE 2023-09-23
- CentOS7安装GlusterFS集群的全过程 2022-10-10
- 阿里云ECS排查CPU数据分析 2022-10-06
- 利用Docker 运行 python 简单程序 2022-10-16
- KVM虚拟化Linux Bridge环境部署的方法步骤 2023-07-11
- 解决:apache24 安装后闪退和配置端口映射和连接超时设置 2023-09-11
- nginx中封禁ip和允许内网ip访问的实现示例 2022-09-23
- 【转载】CentOS安装Tomcat 2023-09-24