求大神解决数据库连接超时问题 在自己电脑上见了一个pl/sql数据库 jdbc改过 启动tomcat总是出现以下错误

qq_26884787 2015-03-26 09:30:46


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [spring-datasource.xml]: Invocation of init method failed; nested exception is java.sql.SQLRecoverableException: IO 错误: The Network Adapter could not establish the connection


Caused by: java.sql.SQLRecoverableException: IO 错误: The Network Adapter could not establish the connection

Caused by: java.net.ConnectException: Connection timed out: connect
...全文
149 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
一点媛艺 2016-05-22
  • 打赏
  • 举报
回复
你会在Android上用jdbc直接连接MySQL吗
master_y 2015-03-26
  • 打赏
  • 举报
回复
看一下你配的datasource
吹疯鸡 2015-03-26
  • 打赏
  • 举报
回复
xml里面配置的和jdbc不一样了吧

58,452

社区成员

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

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