logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

升级spring boot异常:连接zookeeper连接异常

问题curator从2.12.0升级到5.2.0zookeeper被升级到3.6.3了,放到服务器运行项目报错:Unable to read additional data from server sessionid 0x101100ff7f2000a, likely server has closed socket或者KeeperException$UnimplementedException:

#zookeeper#spring boot#java
升级spring boot异常:DataSource name not set

问题从spring boot 2.2.9升级到2.6.2版本后,启动项目quartz报错Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in class path resource [org/spri

#spring boot#java#spring
升级spring boot异常:Junit从4.x升级5.x后运行maven install 进行单元测试 @Disabled 无效问题

问题运行maven 的 install 时进行单元测试,发现测试已经被@Disabled了,但是测试还是会跑。原因在Maven中并不能直接识别JUnit 5测试用例,还需要额外加多Maven Surefire或Maven Failsafe两个插件。参考:https://waylau.com/running-junit5-tests-with-maven/解决添加这两个插件<build>

#maven#spring boot#单元测试
升级spring boot异常:spring循环依赖

问题从spring boot 2.2.9升级到2.6.2版本后,项目启动后访问报错The dependencies of some of the beans in the application context form a cycle.serviceCollectionIdCacheService┌─────┐|serviceProductInfoProviderImpl↑↓|serviceOf

#spring#spring boot#java
mybatis plus 达梦数据库 重复的列名

环境mybatis plus 3.5.9达梦数据库 8.0问题从mysql迁移到达梦数据库后,执行update时,提示Caused by: java.sql.SQLException: 第XX行附近出现错误:重复的列名[XXXX]打印出SQL如下:UPDATE g_health_check_runtimeSEThealth_check_id =?,last_check_time =?,last_c

#数据库#mysql#mybatis
升级spring boot异常:DataSource name not set

问题从spring boot 2.2.9升级到2.6.2版本后,启动项目quartz报错Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in class path resource [org/spri

#spring boot#java#spring
欧拉系统(euleros):安装java8

欧拉系统版本Linux version 4.18.0-147.5.2.1.h579.eulerosv2r10.x86_64 (abuild@szxrtosci10000) (gcc version 7.3.0 (GCC)) #1 SMP Sat Jul 31 09:58:46 UTC 2021ps:当前版本应该是基于centos 8的,所以下载rpm包的时候,使用基于centos 8 的软件包即可

#linux
升级spring boot异常:Junit从4.x升级5.x后运行maven install 进行单元测试 @Disabled 无效问题

问题运行maven 的 install 时进行单元测试,发现测试已经被@Disabled了,但是测试还是会跑。原因在Maven中并不能直接识别JUnit 5测试用例,还需要额外加多Maven Surefire或Maven Failsafe两个插件。参考:https://waylau.com/running-junit5-tests-with-maven/解决添加这两个插件<build>

#maven#spring boot#单元测试
解决:/dev/mapper/centos-root 100%问题

启动java项目时,说磁盘不够了,震惊,抓紧看了下,发现是/dev/mapper/centos-root满了。分析了一下,发现是日志给写满了,可能是nginx的,可能是其他软件写的,存放路径也不相同。直接查找大文件,查找大于100m的文件,可以根据实际情况,适当调整查找的文件大小。切换到 / 目录下,看下是哪个目录占用的比较大。给几个思路,可以排查一下。

#centos#linux#运维
升级spring boot异常:spring循环依赖

问题从spring boot 2.2.9升级到2.6.2版本后,项目启动后访问报错The dependencies of some of the beans in the application context form a cycle.serviceCollectionIdCacheService┌─────┐|serviceProductInfoProviderImpl↑↓|serviceOf

#spring#spring boot#java
    共 11 条
  • 1
  • 2
  • 请选择