解决Java“type mismatch cannot convert from byte[] to string

【问题描述】

byte[] 类型直接赋值给String类型时,报错:“type mismatch cannot convert from byte[] to string“

类似的,String 类型直接赋值给byte[]类型时,报错:“type mismatch cannot convert from string tobyte[]“

【解决方法】

在工程属性 => "Order and Export" 中,将 xerces 的jar 放到最后,然后重新build 项目

发光并非太阳的专利,你也可以发光

解决Java“type mismatch cannot convert from byte[] to string

相关文章:

你感兴趣的文章:

标签云: