On the basis of dubbo when building projects, appears nested exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: invalid UTF-8 byte sequences of 1 byte X class solutions to problems.

1. Global code inspection project, whether a unified utf-8

 

2. dubbo.xml configuration file, the contents of <beans> is not

<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. occupied maven maven to use the storage path of the file, you need to open new. Again in the session to open a new store on it.

 

 

Absolutely feasible, if there are other questions, please give me a message

 



Guess you like

Origin www.cnblogs.com/LiangPF/p/11519981.html