I\'m trying to understand how to use @QuerydslPredicate
but my test API fails when it is called:
Servlet.service() for servlet [dispatcherServle
I think your problem lies in your pom.xml. Be sure you are using compatible version of query-dsl. For instance if you use spring-data-jpa
2.0.8, you should use querydsl-*
4.1.4+
org.springframework.data
spring-data-jpa
2.0.8.RELEASE
com.querydsl
querydsl-*
4.1.4
you can check in maven repository which version you need
Edit 1 try to add the querydsl-core to your maven:
com.querydsl
querydsl-core
4.1.4