执行Context.getJdbcTemplate().queryCount(sql) -----
严重:
Servlet.service() for servlet jsp threw exceptionjava.lang.StackOverflowError at java.lang.StringBuffer.append(StringBuffer.java:224)
at java.lang.StringBuffer.<init>(StringBuffer.java:104)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:17)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:39)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:39)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:39)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:39)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:39)
at org.apache.commons.dbutils.ObjectWrapper.fromObject(ObjectWrapper.java:39)
------解决方案--------------------
配置文件好好检查一下看看