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

Unhandled Exception org.springframework.beans.BeansException #45

Open
ChuckEsc opened this issue May 20, 2022 · 1 comment
Open

Unhandled Exception org.springframework.beans.BeansException #45

ChuckEsc opened this issue May 20, 2022 · 1 comment

Comments

@ChuckEsc
Copy link

bean-searcher-boot-starter模块下的BeanSearcherAutoConfiguration文件,出现未处理的异常。
如果try- catch捕获或是将异常添加到签名,捕获 BeansException或是其子类,又会报
需要的类型:Throwable
提供的类型:BeansException。

截屏2022-05-20 上午10 15 13

@troyzhxu
Copy link
Owner

BeansException 是 RuntimeException,不需要声明的,IDEA 也不会有警告错误呀,你用的 Spring 是什么版本呢?

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

No branches or pull requests

2 participants