当前位置: 首页 > 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


                

相关文章:

  • 生鲜行业智能化供应链解决方案技术白皮书
  • 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开发教程(入门)
  • 网站成品超市/百度关键词优化企业
  • 网络游戏公司/seo主要做什么
  • 网站建设推广优化有哪些基本方法/百度推广咨询
  • 网站设计客户需求/广州市新闻发布
  • 上海高端网站建设定制/超级搜索引擎
  • 免费建立小程序网站/自己做网站如何赚钱