![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
常见错误
沧浪之水0818
这个作者很懒,什么都没留下…
展开
-
关于eclipse启动报错,an error has occurred.see the log file
https://blog.csdn.net/iku5200/article/details/80728911转载 2019-01-24 09:06:25 · 3839 阅读 · 0 评论 -
target\surefire-reports for the individual test results因为测试代码出错而无法打包
错误:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project web_nanchang: There are test failures.[ERROR][ERROR] Please refer to E:\maven\we...转载 2018-11-01 14:33:57 · 3031 阅读 · 0 评论 -
https://blog.csdn.net/qq_21909121/article/details/51814821时间和字符串的转换问题
https://blog.csdn.net/qq_21909121/article/details/51814821转载 2018-10-23 17:15:52 · 136 阅读 · 0 评论 -
java.lang.UnsupportedOperationException: null
java.lang.UnsupportedOperationException: null at org.apache.ibatis.reflection.wrapper.CollectionWrapper.findProperty(CollectionWrapper.java:48) ~[mybatis-3.4.0.jar:3.4.0] at org.apache.ibatis.reflec...原创 2018-10-20 14:05:25 · 21979 阅读 · 2 评论 -
java.lang.IllegalArgumentException: Maximum number of fonts was exceeded
java.lang.IllegalArgumentException: Maximum number of fonts was exceeded at org.apache.poi.hssf.usermodel.HSSFWorkbook.createFont(HSSFWorkbook.java:1068) ~[poi-3.8.jar:3.8] at com.boku.www.utils.Dow...原创 2018-10-22 14:29:13 · 537 阅读 · 0 评论 -
将数据库的数据转换为excel文件下载到本地的方法中遇到的困难及解决方案
以下是将数据库的数据转换为excel文件下载到本地的方法@Autowiredprivate BooksService booksService;@RequestMapping("/downloadBooksExcel")public void downstudents(HttpServletRequest request, HttpServletResponse response)thr...原创 2018-10-09 17:14:38 · 1650 阅读 · 0 评论 -
解决poi文件导入java.lang.NullPointerException异常的处理方法(解析excel文件的时候表格中间或结束行出现空行)
Row titleRow = sheet.getRow(0);//标题行 for(int i=1;i<rowCount;i++){//遍历行,略过标题行,从第二行开始 Row row = sheet.getRow(i); //跳过空行 if(i>=1) { if (row == null) { continue; } els...原创 2018-10-18 18:00:36 · 10391 阅读 · 0 评论 -
Excel异常Cannot get a text value from a numeric cell
Excel异常Cannot get a text value from a numeric cell标签: 杂谈 分类: 技术备忘POI操作Excel时数据Cell有不同的类型,当我们试图从一个数字类型的Cell读取出一个字符串并写入数据库时,就会出现Cannot get a text value from a numeric cell的异常错误,解决办法就是先设置Cell的类型,然后就可以把...原创 2018-09-29 18:55:47 · 249 阅读 · 0 评论 -
poi解析Excel的时候,数据类型错误,读取数据获得的是double类型的,而我强制转换为了String类型的数据Cannot get a text value from a numeric cel
项目数据表.xlsImport failed, please check the data in 0 rows java.lang.IllegalStateException: Cannot get a text value from a numeric cell2018-09-29 16:41:24.379 INFO 23636 — [ Thread-3] o.s.w.c.s....原创 2018-09-29 17:20:01 · 1296 阅读 · 0 评论 -
类找不到异常java.lang.ClassNotFoundException: Cannot find class: user
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘excelImportController’: Unsatisfied dependency expressed through field ‘excelImportService’; nested exc...原创 2018-09-29 14:51:45 · 30015 阅读 · 2 评论 -
springboot分页条件查询java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pageh
java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Pageat com.boku.www.service.impl.ProjectDataServiceImpl.findPage(ProjectDataServiceImpl.java:147) ~[classes/:...原创 2018-10-05 15:52:01 · 2456 阅读 · 0 评论 -
java.lang.OutOfMemoryError: Java heap space,因为代码循环添加,导致内存溢出的问题
for(int i=0;i<list.size();i++){ final TProjectData projectData1 = list.get(i); projectData1 .setCount(list2.get(i)); list.add(projectData1 ); } 报内存溢出 java.lang.OutOfMemoryErro...原创 2018-10-11 15:18:08 · 3036 阅读 · 0 评论 -
idea的多级目录创建的坑
https://blog.csdn.net/qq_28587263/article/details/68944288转载 2018-09-20 17:03:32 · 2085 阅读 · 0 评论 -
使用JDBC连接SQLServer数据库遇到的问题及解决办法
https://www.2cto.com/database/201802/717982.html转载 2019-01-23 15:51:07 · 2067 阅读 · 0 评论