上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页
摘要: 1、异常提示:Description Resource Path Location Type Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: Unable to load the mojo 'resources... 阅读全文
posted @ 2018-05-21 08:45 hapday 阅读(5398) 评论(0) 推荐(0)
摘要: 1、异常提示:Cause: java.sql.SQLException: Column count doesn't match value count at row 1 ; bad SQL grammar []; nested exception is java.sql.SQLException: Column count doesn't match value count at row 1 ... 阅读全文
posted @ 2018-05-20 13:40 hapday 阅读(11250) 评论(0) 推荐(0)
摘要: 1、异常提示:12:59:10.000 [http-nio-8080-exec-40] DEBUG o.s.j.s.SQLStateSQLExceptionTranslator - Extracted SQL state class 'HY' from value 'HY000' 12:59:10.000 [http-nio-8080-exec-40] DEBUG org.mybatis.spr... 阅读全文
posted @ 2018-05-20 11:03 hapday 阅读(3800) 评论(0) 推荐(0)
摘要: 1、异常提示: org.apache.ibatis.binding.BindingException: Mapper method 'com.artup.dao.WorksDao.selectWorksIsCropCompletedById attempted to return null from a method with a primitive return type (byte).... 阅读全文
posted @ 2018-05-16 09:24 hapday 阅读(448) 评论(0) 推荐(0)
摘要: 1、异常提示: java.lang.ArithmeticException: / by zero 2、原因: 当我们定义的被除数为整型时(short、int、long)会抛出此异常, 被除数为整型时不可为零。 3、解决办法: 检查整型的被除数。 阅读全文
posted @ 2018-05-16 00:54 hapday 阅读(84973) 评论(1) 推荐(1)
摘要: 1、异常提示: java.lang.NumberFormatException: Infinite or NaN 2、原因:无法格式化的数字,此数字要么不是个数字,要么是无穷大的数字,从而导致 BigDecimal 无法对其解析。 3、解决办法:检查传入到 BigDecimal 的参数是不是数字,或者数字中含有空格。 阅读全文
posted @ 2018-05-16 00:43 hapday 阅读(24733) 评论(0) 推荐(1)
摘要: 1、异常提示: DEBUG o.s.w.s.m.m.a.ServletInvocableHandlerMethod - Error resolving argument [2] [type=java.lang.Integer] HandlerMethod details: Controller [c 阅读全文
posted @ 2018-05-02 14:30 hapday 阅读(41493) 评论(0) 推荐(0)
摘要: 表 A 中共有数据 738 条,表 B 中共有数据 16612 条,优化前查询耗时超过 1 分钟,优化后查询耗时缩减至 0.066 秒。经 EXPLAIN 分析发现,优化前 A 表和 B 表采用的是全表扫描的方式,优化后使用了索引从而使查询速度提升了 10 倍以上。优化方法:在 B 表中的外键中加入 阅读全文
posted @ 2018-05-02 14:26 hapday 阅读(2013) 评论(0) 推荐(0)
摘要: package com.smbea.image; import com.artup.util.image.ImageUtil; import com.itextpdf.text.*; import com.itextpdf.text.pdf.PdfWriter; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import j... 阅读全文
posted @ 2018-04-19 15:19 hapday 阅读(5090) 评论(0) 推荐(0)
摘要: 1、问题: IntelliJ IDEA 2017.3.5 安装 lombok-plugin-0.17 失败,通过网络下载总是超时; 2、原因:IntelliJ IDEA 2017.3.5 目前还不支持 lombok-plugin 的 0.17 版本; 3、办法:我们可以安装上一个版本 lombok- 阅读全文
posted @ 2018-04-09 15:00 hapday 阅读(945) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页