sqlsessionfactory mybatis-plus pagehelper exception

mybatis-plus常用注解和方法

初识mybatis-plus 简介 MyBatis-Plus (opens new window)(简称 MP)是一个 MyBatis (opens new window)的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。 那么它是怎么增强的呢? 其实就是它已经封装 ......
注解 mybatis-plus 常用 mybatis 方法

117selenium----selenium.common.exceptions.SessionNotCreatedException Message session not created报错

我用的是谷歌,运行报错,selenium.common.exceptions.SessionNotCreatedException Message session not created 原因是:谷歌版本更新了 解决方法如下: 1、下载对应版本地址:https://registry.npmmirro ......

mybatis-plus分页插件

import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybat ......
mybatis-plus 插件 mybatis plus

【jmeter】启动报错Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filech

1、问题 之前是java8的时候装的jmeter突然不能用了,报错Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filech...... 2、原因 升级了java17 3、解决办法 ......

Mybatis-Plus总结

mybatis-plus mybatis-plus主键id生成使用的是雪花算法所以会比较长,使用bigint类型(在实体中是long类型) MySQL驱动8就用:driver-class-name: com.mysql.cj.jdbc.Driver MySQL驱动8需要加时区连接地址URL MySQ ......
Mybatis-Plus Mybatis Plus

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [jxsr2]:

报错如下: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [jxsr2]: would dispatch back to th ......

mybatis里的sqlSessionFactory无法调用Session

//2、获取SqlSession对象,用它执行sqlSqlSession sqlSession = sqlSessionFactory.(); 我写的时候SqlSessionFactory调用的时候第一个s大写了 应该小写的 ......
sqlSessionFactory mybatis Session

若依微服务连接redis 一段时间报错,后来改成连接池后也是报错 Redis command timed out; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command timed out after 10 second(s)

springBoot版本是2.x 所以呢redis客户端是lettuce,而不是jedis; lettuce支持异步,而且是线程安全的。 jedis是同步的,线程不安全需要每个线程一个Jedis实例,所以一般通过连接池来使用Jedis。 我这里用的是lettuce连接池的配置还是报错了呢: spri ......

ABP微服务学习系列-修复System.Text.Json不支持序列化Exception

前面我们已经把服务都启动了,然后我们试试请求API。发现请求出现500 返回错误 System.NotSupportedException: Serialization and deserialization of 'System.Reflection.MethodBase' instances a ......
序列 Exception System Json Text

SpringBoot+Mybatis-plus整合easyExcel批量导入Excel到数据库+导出Excel

一、前言 今天小编带大家一起整合一下easyExcel,之所以用这个,是因为easyExcel性能比较好,不会报OOM! 市面上常见的导入导出Excel分为三种: hutool easyExcel poi hutool和easyExcel都是对poi的封装,使用起来更加方便! 如果想使用poi和hu ......

【项目实战】从零到一搭建Spring Boot整合Mybatis-plus

前言 2023年想搭建一套属于自己的框架,做一个属于自己想法的项目。这些年工作中一直用公司已有的框架,以前有跟着学习视频搭建过,但自己真正动手搭建时发现问题还是很多,比如没有引入Mybatis-plus包之前,项目api test是成功的,引入Mybatis-plus包后就一直启动不成功,而且异常信 ......
Mybatis-plus 实战 Mybatis 项目 Spring

pagehelper踩坑记之分页乱套

我们在使用数据库进行查询时,很多时候会用到分页展示功能,因此除了像mybatis这样的完善的orm框架之外,还有pagehelper这样的插件帮助减轻我们的工作。 pagehelper的实现方式是,不需要我们去编写分页代码,只需要调用一个分页方法,出来的结果就是经过分页处理的。一来,我们的xml中的 ......
pagehelper

【Java面试指北】Exception Error Throwable 你分得清么?

读本篇文章之前,如果让你叙述一下 Exception Error Throwable 的区别,你能回答出来么? 你的反应是不是像下面一样呢? 你在写代码时会经常 try catch(Exception) 在 log 中会看到 OutOfMemoryError Throwable 似乎不常见,但也大概... ......
Exception Throwable Error Java
共463篇  :16/16页 首页上一页16下一页尾页