MyEclipse8.6 Io 异常: The Network Adapter could not establish the connection
来源:互联网 发布:纸质读书笔记 知乎 编辑:程序博客网 时间:2024/05/29 10:02
在配置hibernate时,出现
Error while performing database login with the XXX driver:
Io 异常: The Network Adapter could not establish the connection
错误;
上网查找解决方法,发现要修改MyEclipse8.6中的eclipse.ini文件的language属性...
可是去myeclipse安装包中寻找,并没有发现这个文件...
我是这样解决的(虽然现在还不清除怎么回事,但是连接数据库成功了)
在配置对话框中有一栏Connection URL 开始我填的是jdbc:oracle:thin:@localhost:1521:orcl
Error while performing database login with the XXX driver:
Io 异常: The Network Adapter could not establish the connection
错误;
上网查找解决方法,发现要修改MyEclipse8.6中的eclipse.ini文件的language属性...
可是去myeclipse安装包中寻找,并没有发现这个文件...
我是这样解决的(虽然现在还不清除怎么回事,但是连接数据库成功了)
在配置对话框中有一栏Connection URL 开始我填的是jdbc:oracle:thin:@localhost:1521:orcl
后来更改为:jdbc:oracle:thin:@127.0.0.1:1521:orcl
注意上面的粗体,无法加红,请谅解,
哈..连接成功了,好激动...
又接着使用jdbc:oracle:thin:@localhost:1521:orcl测试了下,也能连接成功...
如有遇到这种情况的同学,可以尝试下...
- MyEclipse8.6 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
- 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
- Ant 打包build.xml,并直接发布到tomcat应用
- 对表格处理的JS代码
- 正则转换url参数-int类型
- OpenFlow资源整理
- 字典树——Hdu 1247 Hat’s Words
- MyEclipse8.6 Io 异常: The Network Adapter could not establish the connection
- 域用户自助修改AD属性Web应用 - ADCustomWeb
- android的编译和运行过程
- 网站排障分析常用的命令
- solr链接数据库
- 网站小说采集
- 枚举
- OpenGL函数思考-glHint
- Win 7 下确定是否有管理员权限!