Skip to content
New issue

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

java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy #11

Open
zoeminghong opened this issue Jul 15, 2020 · 1 comment

Comments

@zoeminghong
Copy link
Owner

描述:

spring boot 项目报错内容

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

方案:

由于 AutoConfiguration 类初始化了晚于其他的类,初始化顺序方面存在问题。

我将一些bean初始化迁移到了其他的类中。

参考文档:

@zoeminghong
Copy link
Owner Author

还有一种可能性是spring boot 版本问题,我是先将spring boot版本进行升级,之后还是存在这个问题,定位到了是AutoConfiguration的问题,就进行一个个bean初始化的排除检查问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant