java web 运行的报错

sly401hh 2018-12-03 10:42:21
警告: DbConnectionManager.getConnection() 获得数据库链接失败.

链接类型:com.mysql.jdbc.Driver
链接位置:jdbc:mysql://127.0.0.1:3306/db_9griddiary?user=root&password=1234&useUnicode=true
十二月 03, 2018 10:35:29 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [DiaryServlet] in context with path [/NineGridDiary] threw exception
java.lang.NullPointerException java.sql.SQLException: The connection property 'useUnicode' only accepts values of the form: 'true', 'false', 'yes' or 'no'. The value 'true ' is not in this set.
...全文
63 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
咸哼酒家 2018-12-04
  • 打赏
  • 举报
回复
'true' ==》 'true '
  • 打赏
  • 举报
回复
true后面多打空格了。。。

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧