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+"')");
通常情況都是標點弄錯了,或是位置不對,只要仔細檢查就會找到問題的所在。
