myeclipse2014导入web项目后页面出现报错乱码

 时间:2024-10-14 04:58:46

1、导入web项目后出现错误提示,打开一看是中文乱码

myeclipse2014导入web项目后页面出现报错乱码myeclipse2014导入web项目后页面出现报错乱码

2、对项目右键,点击properties

myeclipse2014导入web项目后页面出现报错乱码

3、点击resource,在text file encoding中,默认选择inherited from container(GBK)

myeclipse2014导入web项目后页面出现报错乱码

4、勾选other,选择UTF-8

myeclipse2014导入web项目后页面出现报错乱码

5、点击Apply —>OK

myeclipse2014导入web项目后页面出现报错乱码

6、错误提示消失,很明显是由于编码格式问题导致该错误产生。

myeclipse2014导入web项目后页面出现报错乱码
  • request.getParameterMap()问题
  • spring security的logout功能404怎么办
  • jquery怎么增加div高度?
  • eclipse中如何导入tomcat插件
  • eclipse建立springMVC 简单项目
  • 热门搜索
    旅游投诉 青岛旅游自由行攻略 重庆旅游景点 大理旅游景点 宜昌旅游 去旅游 南澳岛旅游攻略 途牛旅游网 江西旅游 珠海旅游