当前位置: 首页 > news >正文

springboot2.7.18升级springboot3.3.0遇到的坑

druid的警告,警告如下:

运行警告2025-02-28T09:20:31.285+08:00  WARN 18800 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot3.autoconfigure.stat.DruidSpringAopConfiguration' of type [com.alibaba.druid.spring.boot3.autoconfigure.stat.DruidSpringAopConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [projectingArgumentResolverBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-02-28T09:20:31.317+08:00  WARN 18800 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource.druid-com.alibaba.druid.spring.boot3.autoconfigure.properties.DruidStatProperties' of type [com.alibaba.druid.spring.boot3.autoconfigure.properties.DruidStatProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [projectingArgumentResolverBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-02-28T09:20:31.332+08:00  WARN 18800 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.RegexpMethodPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [projectingArgumentResolverBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
解决方式:注释掉配置文件中druid的aop-patterns

mysql警告

2025-02-28T16:09:27.893+08:00  WARN 4116 --- [  restartedMain] org.hibernate.orm.deprecation            : HHH90000025: MySQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
解决方式:删掉jpa.database = mysql


                
http://www.dtcms.com/a/44874.html

相关文章:

  • 生鲜行业智能化供应链解决方案技术白皮书
  • pyside6学习专栏(八):在PySide6中使用matplotlib库绘制三维图形
  • JAVA入门——IO流
  • idea中或pycharm中编写Markdown文件
  • 小结:计算机网路中的性能指标小结
  • Windows提权之第三方提权(九)
  • I/O多路转接之select:定义、原理及应用场景
  • solidwork智能尺寸怎么对称尺寸
  • 【大模型系列篇】Vanna-ai基于检索增强(RAG)的sql生成框架
  • odoo初始化数据库
  • Ubuntu20.04确认cuda和cudnn已经安装成功
  • #渗透测试#批量漏洞挖掘#(0day)某智能终端操作平台前台存在通用SQL注入漏洞(CVE-2022-21047)
  • 3.对象生活的地方—Java环境搭建
  • Spring-全面详解(学习总结)
  • 【AD】3-5 元件在原理图中的基本操作2
  • 从零开始开发纯血鸿蒙应用之语音朗读
  • Gopeed 各种类型的文件资源下载器 v1.6.7 中文版
  • CentOS与Ubuntu操作系统的基本对比介绍
  • 如何在WMare上安装ubuntu(乌班图)
  • Asp.Net Core WebAPI开发教程(入门)
  • 【合集】Java进阶——Java深入学习的笔记汇总 再论面向对象、数据结构和算法、JVM底层、多线程、类加载、
  • 计算机等级考试
  • 力扣hot100——回溯
  • Hyper-V -docker-vmware 三者的关系
  • Redis通用命令
  • 正大杯攻略|量表类问卷数据分析基本步骤
  • Linux网络 TCP全连接队列与tcpdump抓包
  • 浅谈deepseek环境搭建
  • Python实现GO鹅优化算法优化BP神经网络回归模型项目实战
  • vue3 + xlsx 实现导出表格,动态获取表头和数据