标签:没有 string ble date phone 10g val cut java
String literal is not properly closed by a double-quote
这个错误:string字串没有以双引号结束
String DBURL = "jdbc:oracle:thin:@192.168.1.25:1521:ora10g";
这句最后面少一个双引号
stmt.executeUpdate("INSERT INTO user(account,password,email,qq,phone,address,words)VALUES(‘"+str1+"‘,‘"+str2+"‘,‘"+str4+"‘,‘"+str5+"‘,‘"+str6+"‘,‘"+str7+"‘,‘"+str8+"‘)");
通常情况都是标点弄错了,或是位置不对,只要仔细检查就会找到问题的所在。
JAVA问题String literal is not properly closed by a double-quote
标签:没有 string ble date phone 10g val cut java
原文地址:http://www.cnblogs.com/lyxcode/p/7473253.html