- 博客(2)
- 收藏
- 关注
原创 报错02:MySQLSyntaxErrorException: You have an error in your SQL syntax;
错误原因:mysql执行语句出错。 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? and password = ?' at line 1 出错代码: Stri
2021-11-21 11:05:20
1236
原创 报错01-Exception in thread “main“ java.util.ConcurrentModificationException
遍历集合,删除符合条件的元素时报错; 源代码: for (Book b : books) { if (id.equals(b.getId())){ if(books.remove(b)){ //删除成功 System.out.println("删除成功"); }else{ Syst
2021-11-21 10:52:39
246
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人