Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)

时间:2023-01-15 10:32:25

org.apache.jasper.JasperException:xxx.jsp(1,1) Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)

 

项目部署到机器上运行无错误,在打开网页的时候出现上述错误。   这个时候找到啊 xxx.jsp   把pageEncoding="utf-8"   改成  pageEncoding="UTF-8"。