社区
Java
帖子详情
myeclipse中java连接oracle数据库错误:IO 错误: The Network Adapter could not establish the c
yang_china
2019-08-18 05:00:06
错误:
java:
sqlplus能够连接成功
...全文
69
回复
打赏
收藏
myeclipse中java连接oracle数据库错误:IO 错误: The Network Adapter could not establish the c
错误: java: sqlplus能够连接成功
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
设置
MyEclipse
10.0
连接
Oracle
11g
数据库
设置
MyEclipse
10.0
连接
Oracle
11g
数据库
Io
异常: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n解决
环境:
Oracle
11g +
MyEclipse
6.5 + JDK1.6 问题:JDBC
连接
Oracle
数据库
出现以下
错误
:
java
.sql.SQLRecoverableExcept
io
n:
Io
异常: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n at
oracle
.jdbc.driver.SQLStateMapp
解决The
Network
Adapter
could not
es
tabl
ish
the connect
io
n
解决1 主机与虚拟机ping不通解决2 状态: 失败 -测试失败:
IO
错误
: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n本次尝试在主机
连接
虚拟机
中
的
oracle
12c,经过折腾后成功,总结如下:环境:VMware ,
oracle
12 ,主机和虚拟机均安装Windows10问题1 主机与虚拟机ping不通1.关闭虚拟机的防火墙,主机
Io
异常: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n
尝试
连接
数据库
时 出现如下异常:
Io
异常: The
Network
Adapter
could not
es
tabl
ish
the解决方法:
Io
异常: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n这个异常的出现一般与
数据库
和你的PC的设置有关这种异常的出现大致上有下面几种:1。IP
错误
。在设置URL时
错误
,例如:jdbc:
oracle
:thin:@192.168.0.36:1521:sharp
数据库
服务器不正确:ping 服务器IP是否正确
java
.sql.SQLExcept
io
n:
Io
: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n
在win10的
myeclipse
运行正常,但是放到Unix系统就报这个错:
java
.sql.SQLExcept
io
n:
Io
: The
Network
Adapter
could not
es
tabl
ish
the connect
io
n at
oracle
.jdbc.driver.DatabaseError.throwSqlExcept
io
n(DatabaseError.ja...
Java
51,412
社区成员
86,032
社区内容
发帖
与我相关
我的任务
Java
Java相关技术讨论
复制链接
扫一扫
分享
社区描述
Java相关技术讨论
java
spring boot
spring cloud
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章