Can Idea automatically autowires Spring Bean using @Resource instead of @Autowired?
Answered
I love this new feature, but it's @Autowired not @Resouce, Can I change this?
below is the bean
help
Please sign in to leave a comment.
Hello,
Is it possible to provide sample project example demonstrating the issue?
Seems like this would be super easy to reproduce no? Just create a project with spring, define a bean and attempt to use it in a class that doesn't have it imported yet. @Resource is more standard than @Autowired, which is spring-specific.
An option is to create or adjust live templates to insert `@Resource` instead of `@Autowired`.