
Java开发
无岁月可偷
Q_smile
这个作者很懒,什么都没留下…
展开
-
使用cmd命令出现“XXX.java:3: 错误: 编码GBK的不可映射字符”解决方案
问题描述:解决方案:在javac后加上 -encoding UTF-8。原创 2018-07-23 14:30:34 · 797 阅读 · 0 评论 -
The servlets named [xx] and [a.b.xx] are both mapped to the url-pattern [/xx] which is not permitted
原因:报错的LoginServlet中 @WebServlet("/LoginServlet")没有注释掉。解决方案:将该句注释掉即可。原创 2018-07-12 15:16:19 · 483 阅读 · 0 评论 -
... for the right syntax to use near '?,?,?)' at line 1解决方案com.mysql.jdbc.exceptions.jdbc4.MySQLSynt
错误描述: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 '...原创 2018-07-12 20:51:03 · 9695 阅读 · 6 评论