- 博客(8)
- 收藏
- 关注
原创 无法访问此网站网址为 http://localhost:6000/xxx 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_UNSAFE_POR
如果是无法请求, 在确定程序系统起来后, 请看看端口是不是不安全的端口, 具体见正文
2022-11-17 10:58:52
6293
2
原创 org.apache.ibatis.binding.BindingException Type interface is not known to the MapperRegistry. 报错问题解
org.apache.ibatis.binding.BindingException: Type interface com.lgl.dao.UserDao is not known to the MapperRegistry. 报错问题解决错误原因在Mybatis的核心配置文件中少了mapper.xml文件注册!MapperRegistry是什么?核心配置文件中注册mapper <!--每一个Mapper.XML都需要在Mybatis核心配置文件中注册!--> <ma
2021-04-18 20:19:14
386
2
原创 Cause org.apache.ibatis.builder.BuilderException Error parsing SQL Mapper Configuration.问题解决
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.问题解决java.lang.ExceptionInInitializerError at com.liglei.dao.UserTest.test(UserTest.java:16) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.
2021-04-18 20:17:22
1309
原创 Cause com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure 问题解决 报错
Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 问题解决 Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain wit
2021-04-18 20:05:34
19414
16
原创 Thymeleaf+Mybatis+Mysql+SSM分页查询-分页工具类 分页插件
Thymeleaf+Mybatis+Mysql+SSM分页查询一、分页查询大致分为两种:**物理查询:**根据页面只取一页的数据显示,需要构造SQL语句**优缺点:**事实查看,数据不会溢出,性能降低**逻辑查询:**每次取查询结果的所有数据,然后根据页面显示指定的记录**优缺点:**查询快,数据会溢出二、本文只叙述物理查询的两种方法,实现以下步骤:1、第一种用工具类通过工具类pageUtil实现,工具类负责接收前端的起始页码和一页要显示的数据通过逻辑计算得到每一页的第一条
2021-01-24 16:29:58
716
2
原创 org.springframework.beans.factory.UnsatisfiedDependencyException报错解决
org.springframework.beans.factory.UnsatisfiedDependencyException:报错解决可以理解为依赖失败吧,找不到依赖部分报错如下:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pageService': Unsatisfied dependency expressed through field 'p
2021-01-23 18:46:00
84871
8
原创 图片上传功能
图片上传功能1.Controller层 主要传入一个MultipartFile类型的集合public String save(MultipartFile file, ImageInfo imageInfo, Model model){ int i ; try { i = imageInfoService.insertImage(file, imageInfo); if (i == 0){
2021-01-23 10:57:50
343
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人