Intellij IDEA 15.0.3 says that JdbcTemplate bean doesn't exist.
This is a Spring Boot project, so the all needed beans should be craeted inside of boot. It works fine and I can interact with my database but IDEA marks it like an error. How can I fix it up?
spring-boot-starter-jdbc is in pom.xml; Facets contain Spring; Project Module has all needed dependencies; Spring boot version is 1.3.1
After Intellij IDEA 2016.1.2, click Help->Edit Custom Properties, add new line with idea.spring.boot.filter.autoconfig=false
and restart IDE, then the problem can be fixed.
You can check details in https://youtrack.jetbrains.com/issue/IDEA-139669
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With