首页 > 代码库 > Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)

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

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"。