The autowiring and the bean detection feature are not working for my spring boot application. The application is running fine it's just that intellij does not detect correctly the beans. I have added the Spring facet, hibernate facet, jpa facet to the module.
Here is my main class:
@SpringBootApplication @EnableWebMvcSecurity @ImportResource("classpath:spring/applicationContext.xml") public class MyApplication{ public static void main(String[] args) { SpringApplication.run(MyApplication.class, args); }