connectionURL="jdbc:mysql://localhost:3306/BookDB?user=dbuser;password=aaaaaa"

computerclass 2007-05-20 10:57:18
上面的有问题吗?
日志中的出错信息为:
JDBCStore[/helloapp]: The database connection is null or was found to be closed. Trying to re-open it.
...全文
710 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Theface 2007-05-20
  • 打赏
  • 举报
回复
JDBCStore[/helloapp]: The database connection is null or was found to be closed. Trying to re-open it.

数据库连接为空或者已经被关闭,你的代码怎么写的?你这行代码是打开数据库.
异常信息和你的这行代码是没有关系的.请详细检查代码及根据日志信息来查.

81,122

社区成员

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

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