java.net.ConnectException: Connection refused: connect
2011-04-06 21:02
489 查看
java.net.ConnectException: Connection refused: connect
我用的myeclipse做dao模式的留言板时有个调用connection对象的方法吗,操作数据库时就出现的这个问
题,我气的把项目都删了,一看还是不行的;只要一运行项目就这样,没办法了,我不信这个小屁错误能难
住我,于是我花了一天半的时间来解决,在考试时还是没解决,但是下午,解决了;
解决方案是:
这个小问题既然是个bug,那还怕什么呀,它是个错误,我们就是干掉它的专家,要对症下药吧,你说呢?
切换到,Debug模式下,右上角里有个是BreakPonits选项卡,里面有几个复选框选项的,于是我全部的选
上,这时弹出一个对话框,问是否取消断点,我选"是",再运行,OK 了
我用的myeclipse做dao模式的留言板时有个调用connection对象的方法吗,操作数据库时就出现的这个问
题,我气的把项目都删了,一看还是不行的;只要一运行项目就这样,没办法了,我不信这个小屁错误能难
住我,于是我花了一天半的时间来解决,在考试时还是没解决,但是下午,解决了;
解决方案是:
这个小问题既然是个bug,那还怕什么呀,它是个错误,我们就是干掉它的专家,要对症下药吧,你说呢?
切换到,Debug模式下,右上角里有个是BreakPonits选项卡,里面有几个复选框选项的,于是我全部的选
上,这时弹出一个对话框,问是否取消断点,我选"是",再运行,OK 了
相关文章推荐
- java.net.ConnectException: Connection refused问题解决办法
- 异常:Caused by:java.net.ConnectException:Connection refused: connect
- Catalina.stop: java.net.ConnectException: Connection refused 错误
- java.net.ConnectException MESSAGE: Connection refused: connect处理
- tomcat启动报错 java.net.ConnectException: Connection refused: connect
- java.net.ConnectException: Connection refused: no further information
- java连接SQL Server 2005提示: java.net.ConnectException: Connection refused: connect
- com.taobao.api.ApiException: java.net.ConnectException: Connection refused: connect错误
- 用eclipse的Hadoop插件连接虚拟机错误: java.net.ConnectException: Connection refused no further infomation
- java.net.ConnectException: Connection refused: connect
- Caused by: java.net.ConnectException: Connection refused: connect
- java.net.ConnectException: Connection refused: connect
- java.net.ConnectException: Connection refused: connect 完美解决(SQLserver2000)
- java.net.ConnectException: Connection refused: connect 完美解决(SQLserver2000)【转】
- Tomcat出现 java.net.ConnectException: Connection refused 异常的原因及解决方法
- javax.naming.CommunicationException Root exception is java.net.ConnectException: Connection refused:
- 使用axis开发webservice服务java.net.ConnectException: Connection refused: connect异常的解决办法
- java.net.ConnectException: Connection refused: connect 完美解决(SQLserver2000)【转】 .
- android java.net.ConnectException: Connection 127.0.0.1:8080 refused
- java.net.ConnectException Connection refused connect