在Eclipse中写入中文时就可能就出现这个。
some characters cannot be mapped using “iso-8859” character encoding
或者是
some characters cannot be mapped using gb2312 character encoding
之类的。
意识是文件编码不对,需要改正文件编码。
在Myeclipsce—-windows—-preferences—general—content types—点击text
找到jsp,在最下面修改为utf-8格式即可。其他文件修改方法类似。