Save could not be completed. Try File Save As.. if the problem persistsReasonSome characters cannot be mapped using"GBK"character encoding.Either change the encoding or remove the characters which are nosupported by the"GBK"character encoding
https://blog.csdn.net/h14525544/article/details/78711761
在MyEclipse下编程时,保存的时候,如果出现“Save could not be completed”错误:
MyEclipse的默认编译语言是"ISO-8859-1",这个语言不支持中文,所以如果编辑的程序含有中文而且编译语言是"ISO-8859-1“则就会出现这个问题!
解决方很简单,只要把默认编译语言改成支持中文的就OK了。
改法如下:
window --> Preferences --> General --> Content Types --> Text --> 选中出现保存问题的文件类型(如JSP),在底部出现 'Default edcodng:',改成UTF-8或GBK(反正支持中文即可),然后点击update。
---------------------
作者:h14525544
来源:CSDN
原文:https://blog.csdn.net/h14525544/article/details/78711761
版权声明:本文为博主原创文章,转载请附上博文链接!
java文件选择类型为: