String literal is not properly closed by a double-quote解决

Posted 美国大兵

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了String literal is not properly closed by a double-quote解决相关的知识,希望对你有一定的参考价值。

阅读指南:(1)该是字符集编码的问题;

加入源代码错误出现以下问题如下错误

String literal is not properly closed by adouble-quote

 

 

 

 

解决:工程------->右键------->Resource------->Text file coding------->把原来的GBK改为UTF-8------->错误解决。

 

 

 

现在就只看到警告了,错误解决。

以上是关于String literal is not properly closed by a double-quote解决的主要内容,如果未能解决你的问题,请参考以下文章

JAVA问题String literal is not properly closed by a double-quote

[MongoDB]虽然查询不包含$literal,但错误信息显示$literal is not supported

‘chrono_literals’ is not a namespace-name(c++的版本问题)

Db2 存储数据遇到错误 The numeric literal XXXX is not valid

String literals should not be duplicated

ORA-01861: literal does not match format string