Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled
I solved it by myself.
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.7.Final</version>
</dependency>
I added @Component
annotation from import org.springframework.stereotype.Component
and the problem was solved.