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 简单项目
  • 热门搜索
    键盘下划线怎么输入 健康减肥产品 怎么清理磁盘碎片 电脑网速慢怎么办 跳绳能减肥 卡特琳娜怎么玩 喝柠檬水能减肥吗 肛泰效果怎么样 减肥法 松下电饭煲怎么样