I got an issue which informed me an error occurred when starting to Tomcat, below is the error message:

'Invalid byte 1 of 1-byte UTF-8 sequence' in admin.xml

刚开始我感觉很奇怪,因为xml文件的开始的第一句话是<?xml version="1.0" encoding="UTF-8"?>,字符编码明显是UTF-8的,为什么还报字符编码的问题呢?后来我用editplus打开xml文件,然后另存为,在保存的时候选择字符为UTF-8,结果问题解决了。

相关文章:

  • 2021-08-30
  • 2021-05-26
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2021-06-07
  • 2021-10-09
猜你喜欢
  • 2022-12-23
  • 2021-12-01
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案