某天日志中连续都是如下的异常:2017-09-06 21:39:52.936 ERROR [DruidDataSource.java:1974] create connection holder errororg.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until
平常if test比较都是<if test="type == '1'">进行的,发现type是string类型时,无论如何也不会变成true,最后搜索,解决方法<if test='type == "1"'>
研究用jasperreports实现动态报表,网上下载的代码都是很久以前的,其中使用了JasperDesign使用了setDetail方法,实际下载的最新jar包中这个方法已经被删除了,最后去官网查询了下,解决方法如下:((JRDesignSection)design.getDetailSection()).addBand(detail);
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号