尝试在SQuirreL中运行查询时出现Java异常

时间:2014-08-21 20:25:10

标签: java sql ioexception squirrel-sql

我已安装SQuirreL 3.5.3,我正在使用Java 1.7.0_67 (JRE)。这是我的PATH环境变量的末尾:"C:\Program Files (x86)\Java\jre7\bin"

我已经设置了驱动程序和别名,并且能够连接到我的数据库。

我的问题是,当我运行任何查询(例如“select sysdate”)时,我收到“请求未处理”异常。知道是什么导致了这个吗?

Error: java.sql.SQLException: java.lang.Exception: java.io.IOException: Request not handled
    at org.iws.jdbc.server.JDBCServlet.doPost(JDBCServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:679)

SQLState:  null
ErrorCode: 0

1 个答案:

答案 0 :(得分:0)

我的同事给我的JDBC驱动程序已经过时了。得到了新的驱动程序,查询现在正在运行。