Intellij IDEA: no beans type of type 'JdbcTemplate'

Intellij IDEA 15.0.3 says that the JdbcTemplate bean does not exist.

idea error

This is a Spring boot project, so all the necessary beans must be in demand inside the boot. It works fine and I can interact with my database, but IDEA marks it as an error. How can i fix this?

spring-boot-starter-jdbc is in pom.xml; Borders contain Spring; The module project has all the necessary dependencies; Spring boot version 1.3.1

+7
java spring spring-boot intellij-idea
source share
2 answers

After Intellij IDEA 2016.1.2, click "Help" - "Change user properties", add a new line using idea.spring.boot.filter.autoconfig=false and restart the IDE, then the problem can be fixed. You can check the information at https://youtrack.jetbrains.com/issue/IDEA-139669

+6
source share

Go to File → Project Structure → Faces. It is imperative to have a Spring Fragment for this module and that all configuration classes are added to the Spring Appliction Context group.

0
source share

All Articles