We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring boot 项目报错内容
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
由于 AutoConfiguration 类初始化了晚于其他的类,初始化顺序方面存在问题。
我将一些bean初始化迁移到了其他的类中。
The text was updated successfully, but these errors were encountered:
还有一种可能性是spring boot 版本问题,我是先将spring boot版本进行升级,之后还是存在这个问题,定位到了是AutoConfiguration的问题,就进行一个个bean初始化的排除检查问题
Sorry, something went wrong.
No branches or pull requests
描述:
spring boot 项目报错内容
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
方案:
由于 AutoConfiguration 类初始化了晚于其他的类,初始化顺序方面存在问题。
我将一些bean初始化迁移到了其他的类中。
参考文档:
The text was updated successfully, but these errors were encountered: