草庐IT

“SqlSession[xxx] was not registered for synchronization because synchronization is not active”问题成功解决

一、问题详情:springboot项目控制台打印如下日志,但程序可正常运行,并未报错:????D:JavaJDKjdk1.8.0_261injava.exe-XX:TieredStopAtLevel=1-noverify-Dspring.output.ansi.enabled=always"-javaagent:D:idea安装包IntelliJIDEA2021.2.1libidea_rt.jar=53940:D:idea安装包IntelliJIDEA2021.2.1in"-Dcom.sun.management.jmxremote-Dspring.jmx.enabled=true-Dspri

解决异常:“The last packet sent successfully to the server was 0 milliseconds ago. ”的办法;及Linux网络ping不通得问题

报错信息如下: 2 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communicationslinkfailure 3Thelastpacketsentsuccessfullytotheserverwas0millisecondsago.Thedriverhasnotreceivedanypacketsfromtheserver.很明显第二得错误提示信息有提到mysql,说明mysql服务没有启动等原因。事实上我得mysql服务确实没有链接通,原因是我把linux得一个子网修改后,导致navicat连接不上mysql服务器,在

解决异常:“The last packet sent successfully to the server was 0 milliseconds ago. ”的办法;及Linux网络ping不通得问题

报错信息如下: 2 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communicationslinkfailure 3Thelastpacketsentsuccessfullytotheserverwas0millisecondsago.Thedriverhasnotreceivedanypacketsfromtheserver.很明显第二得错误提示信息有提到mysql,说明mysql服务没有启动等原因。事实上我得mysql服务确实没有链接通,原因是我把linux得一个子网修改后,导致navicat连接不上mysql服务器,在

ESP32报错:Brownout detector was triggered

问题描述最近在用ESP32做一个智能小车控制器,发现在加入wifi功能后烧后串口总是报错,然后板子会不断的重启。报错内容如下:rst:0xc(SW_CPU_RESET),boot:0x17(SPI_FAST_FLASH_BOOT)configsip:0,SPIWP:0xeeclk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00mode:DIO,clockdiv:1load:0x3fff0018,len:4load:0x3fff001c,len:1216ho0tail12room4load:0x4007800

ESP32报错:Brownout detector was triggered

问题描述最近在用ESP32做一个智能小车控制器,发现在加入wifi功能后烧后串口总是报错,然后板子会不断的重启。报错内容如下:rst:0xc(SW_CPU_RESET),boot:0x17(SPI_FAST_FLASH_BOOT)configsip:0,SPIWP:0xeeclk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00mode:DIO,clockdiv:1load:0x3fff0018,len:4load:0x3fff001c,len:1216ho0tail12room4load:0x4007800

解决Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of ..

文章目录1.问题2.分析问题3.升级kotlin插件版本3.1升级方法13.1升级方法24.其他问题4.1方法1中的Cannotdownload...Readtimedout问题4.2方法2中的Plugin'Kotlin'isincompatiblewiththisinstallation问题1.问题今天在启动springboot项目时,idea报出错误:Error:Kotlin:ModulewascompiledwithanincompatibleversionofKotlin.Thebinaryversionofitsmetadatais1.5.1,expectedversionis1.1

解决Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of ..

文章目录1.问题2.分析问题3.升级kotlin插件版本3.1升级方法13.1升级方法24.其他问题4.1方法1中的Cannotdownload...Readtimedout问题4.2方法2中的Plugin'Kotlin'isincompatiblewiththisinstallation问题1.问题今天在启动springboot项目时,idea报出错误:Error:Kotlin:ModulewascompiledwithanincompatibleversionofKotlin.Thebinaryversionofitsmetadatais1.5.1,expectedversionis1.1

The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path

标题1、错误原因2、解决办法2.1、配置本地的tomcat环境2.2、在项目中使用本地tomcat环境2.3、也直接在某个模块中引入需要的jar包2.3、刷新maven3、项目放入eclipse中的tomcat环境中,启动、访问4、项目启动成功1、错误原因1.1、新导入的项目报错,说是找不到javax.servlet.http.HttpServlet类,这个类是tomcat安装包lib目录下的jar包,因为导入的项目是我拉取别人开发好的项目,还没有配置本地的环境,所以才出现了这个错误。2、解决办法2.1、配置本地的tomcat环境eclipse工作栏出选择window-preferences选

The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path

标题1、错误原因2、解决办法2.1、配置本地的tomcat环境2.2、在项目中使用本地tomcat环境2.3、也直接在某个模块中引入需要的jar包2.3、刷新maven3、项目放入eclipse中的tomcat环境中,启动、访问4、项目启动成功1、错误原因1.1、新导入的项目报错,说是找不到javax.servlet.http.HttpServlet类,这个类是tomcat安装包lib目录下的jar包,因为导入的项目是我拉取别人开发好的项目,还没有配置本地的环境,所以才出现了这个错误。2、解决办法2.1、配置本地的tomcat环境eclipse工作栏出选择window-preferences选

全网多种方式解决Unchecked runtime.lastError: The message port closed before a response was received的错误

文章目录1.文章引言2.分析问题3.解决问题4.解决该错误的其他方法1.文章引言今天启动项目后访问Knife4j接口文档,却报出下图错误:在报出Knife4j文档请求异常错误时,赶紧打开控制台,如下所示:即Uncheckedruntime.lastError:Themessageportclosedbeforearesponsewasreceived.2.分析问题正赶上最近ChatGPT很火,于是借助ChatGPT来解决我的问题,如下所示:Uncheckedruntime.lastError:Themessageportclosedbeforearesponsewasreceived.This