10 2021 档案

摘要:报错原因: 项目中要压缩图片 用maven 打包时,提示 程序包com.sun.image.codec.jpeg不存在 解决方法: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plug 阅读全文
posted @ 2021-10-27 11:03 唏嘘- 阅读(200) 评论(0) 推荐(0) 编辑
摘要:springboot 项目部署到tomcat 下,上传附件出现问题: 报错信息: [http-nio-80-exec-544] 2021-09-29 15:54:20 (GlobalExceptionHandler.java:372) 运行时异常: org.springframework.web.m 阅读全文
posted @ 2021-10-15 22:42 唏嘘- 阅读(2306) 评论(0) 推荐(0) 编辑
摘要:spring 整合 mybatis 报错日志 Exception in thread "main" org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Persiste 阅读全文
posted @ 2021-10-10 08:27 唏嘘- 阅读(1131) 评论(0) 推荐(0) 编辑
摘要:spring 整合 mybatis 报错信息 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.SqlSessio 阅读全文
posted @ 2021-10-10 08:18 唏嘘- 阅读(857) 评论(0) 推荐(0) 编辑
摘要:spring 整合 mybatis 报错信息 java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory 找不到commons-pool, 添加commons-pool-1.6依赖 <dependenc 阅读全文
posted @ 2021-10-10 08:14 唏嘘- 阅读(177) 评论(0) 推荐(0) 编辑
摘要:spring 整合 mybatis 查询数据库报错 java.lang.NoClassDefFoundError: org/springframework/dao/support/DaoSupport 缺少jar包 添加如下jar包 <dependency> <groupId>org.springf 阅读全文
posted @ 2021-10-10 08:11 唏嘘- 阅读(902) 评论(0) 推荐(0) 编辑
摘要:1、SpringBoot 项目 (1)、 Resource resource = new ClassPathResource("template/xixu.png"); // template 前面不要加 / File file = resource.getFile(); (2)、 String p 阅读全文
posted @ 2021-10-09 09:46 唏嘘- 阅读(582) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示