I have web project spring mvc with spring data
here is example :
https://github.com/prilia/SpringJpa-Quarydsl-Test/tree/master/JpaSpringQuarydsl
I checked
you need plugin, try this:
com.mysema.maven
maven-apt-plugin
1.0.4
process-common-model
process
generate-sources
${project.build.directory}/{yourSourceDir}
target/generated-sources/querydsl
com.mysema.query.apt.jpa.JPAAnnotationProcessor
true
true
.qdsl
I copied this from my project. just added it to your pom and have a try.
There are additional options in the code above, if you just wanna a simple one, focus on the querydsl reference