Search code examples
javaspringintellij-ideaannotations

Intellij idea showing incorrect warning


I am using the following version of Intellij Idea

enter image description here

When I try to @Autowire in spring like

@Autowired private DBManager dbManager; 

Ith shows the warning: Private field 'dbManager' is never assigned

How I can suppress such kind of warnings which is not relevant.


Solution

  • Integration with Spring and other frameworks available in Intellij IDEA Ultimate, but you're using Community Edition version which supports mainly Java Core features so there's no inspection capable of determining whether or not the field is assigned.