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

构造器注入的时候 能够像mybatis mapper那样不要报 no beans found 吗? #35

Closed
qinkangdeid opened this issue Nov 5, 2020 · 4 comments

Comments

@qinkangdeid
Copy link

如题 构造器注入的时候 能够像mybatis mapper那样不要报 no beans found 吗?
image
虽然bean是已经有了 就是报这个警告 不是很爽 hahahah😂

@chentianming11
Copy link
Collaborator

👍,后续研究一下

@chentianming11
Copy link
Collaborator

image
兄弟,我刚刚看了下,Mybatis的Mapper一样也有这个警告😂

@stupid1t
Copy link

这个就是编译器检测等级的问题,把等级拉到中等

@freshgeek
Copy link

可以使用@resource 注解 避免 ,

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

4 participants