alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.97k stars 8.58k forks source link

1.2.22版本的StatViewServlet,WebStatFilter包名还没有修改jakarta.servlet #5782

Closed yzun closed 7 months ago

yzun commented 7 months ago

1.2.22版本的StatViewServlet,WebStatFilter等包名还没有修改,导致在集成springboot 3.2.0版本时报错。因为新版springboot中ServletRegistrationBean,FilterRegistrationBean全部要求jakarta.servlet.*

image
lizongbo commented 7 months ago

你自己引用错class了。 springbot 3.x的快速集成是用 druid-spring-boot-3-starter ` // https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-3-starter implementation 'com.alibaba:druid-spring-boot-3-starter:1.2.22'

` image