在Android中,当连接电话以进行调试时,logcat一直在发送此错误:
06-27 00:17:17.440 947-2476/? E/UsbDebuggingManager﹕ Communication error:
java.io.IOException: Connection refused
at android.net.LocalSocketImpl.connectLocal(Native Method)
at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:290)
我有一个访问Oracle12数据库的Java应用程序。当我在调试器之外运行它时,它运行得很好。如果我尝试使用Intellijv2016.1.4调试器对其进行调试,我会得到一个java.sql.SQLRecoverableException,并带有以下堆栈跟踪:
java.sql.SQLRecoverableException: IO Error: An existing connection was forcibly closed by the remote host, Authentication lapse 0 ms.
at oracle.jdbc.driver.T4CConnec