org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to create correct SQLException class instance, error class/codes may be incorrect.Reason:
java.sql.SQL
myDatabase"); st = con.prepareStatement(sql);} catch(SQLException但是,当将错误引入到SQL语句(“从mytable中选择fubar”)时,SQLException不会被JSP捕获,而st.execute()语句不会返回,就像卡在循环中一样。