baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.74k stars 1.19k forks source link

v4.0.0版本启动报错java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy #524

Closed kervin521 closed 1 year ago

kervin521 commented 1 year ago

Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。

Enviroment

JDK Version(required): 1.8.0.321 SpringBoot Version(required): 2.7.13 dynamic-datasource-spring-boot-starter Version(required): 4.0.0 druid Version(optional): 1.2.18 Spring Version(optional): 5.3.28

Describe what happened

Expected Result:

启动正常

Actual Result: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy

If there is an exception,or aop invalid,please attach the exception trace:

Just paste your stack trace here!

Steps to reproduce

liuhaichaogithub commented 1 year ago

一样的问题,如果springboot3的版本就没这个问题了,然后debug,发现找不到beecp相关类,可是我没用这个连接池,引入后又报其他的,如果不升级jdk和springboot3的话建议回退3.6.0 版本试试

ZPZP1 commented 1 year ago

518 应该和这个issue是一样的已经有pr了估计老哥还没发版

huayanYu commented 1 year ago

4.1.0