SoapUI:byte 0xb1 implies a length of more than 4 bytes

桃扇骨 2022-12-21 12:57 194阅读 0赞

在project测试中,如果引入wsdl报如下的错误:
Error loading [http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl\]: org.apache.xmlbeans.XmlException: java.io.CharConversionException: Characters larger than 4 bytes are not supported: byte 0xb1 implies a length of more than 4 bytes

解决方案:关闭程序并找到SoapUI的安装位置中的SoapUI-5.4.0.vmoptions这个文件,在末尾加入 -Dfile.encoding=UTF8 可解决

发表评论

表情:
评论列表 (有 0 条评论,194人围观)

还没有评论,来说两句吧...

相关阅读