1

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); } 

1 Answer 1

1

This is a known bug in IntelliJ. However proper Spring Boot support is planned for the 14.1 release (last time I checked this release should be ready in a few months). Check out IDEA-119230 for more details.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.