1.service bean injection layer controller fails, the two points to be noted that
the first point: the need to add annotations FIG @Service ServiceImpl class:
Second point: the dao layer RepositoryImpl @Repository classes with the annotation layer in dao Repository interface RepositoryImpl class does not matter, RepositoryImpl Interface Repository FIG class does not implement:
2019.06.12 Spring Data Jpa dao annotation layer injection failed to develop Bean problems
Guess you like
Origin blog.csdn.net/sjn0815/article/details/91516406
Recommended
Ranking