I have this pom.xml:
org.springframework.boot spring-boot-starter-parent
My spring boot version is 2.0.5.RELEASE I resolved this problem by adding this dependency
com.mysema.querydsl querydsl-jpa 2.0.7