Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connect
来源:互联网 发布:rs232串口测试软件 编辑:程序博客网 时间:2024/06/05 04:09
导入maven项目后,运行报错。
问题描述:
Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connection)
数据库连接异常。
网上说的IP啊、防火墙啊、cmd指令打开数据库监听啊对我根本没用。
解决步骤:
首先,在数据库中连接发现数据库连接不上,报同样的错,检查后发现服务器的数据库有问题,服务器数据库问题解决后,数据库连接正常,但是仍然报这个错。
出现这个错误的原因是项目中有一些test类有问题造成程序跑不起来,所以要跳过Test类
打开Run As - RunConfigurations
在这个地方打上勾。
同时注意这个地方。
红色方框内填写内容要与pom.xml文件对应。
用的是哪个url,就用哪个profile。
问题解决:
0 0
- Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connect
- Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connec
- Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connectio
- 使用Oracle连接池错误 Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connection )的解决方法
- Cannot create PoolableConnectionFactory (The Network Adapter could not establish the connection)
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- MPI程序 对等模式的 Jacobi迭代
- Android控件开发之Menu
- 在Ubuntu 12.04 64bit安装ia32-libs兼容库失败解决方法
- 【CODEFORCES】 C. Dreamoon and Strings
- [LeetCode]Convert Sorted Array to Binary Search Tree
- Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connect
- java中注解用法
- ssh登录,密码提示出现慢的解决方法。
- Java设计模式—工厂设计模式
- jQuery 标签相关
- ASP .NET MVC4 项目文件结构及各文件的作用
- Matlab--函数
- TR069 (CWMP协议即CPE广域网管理协议)
- Android里面涉及的几种多媒体以及相关属性(二)