Spring data Querydsl in eclipse not generating query type classes

孤街浪徒 提交于 2019-12-04 17:28:29

In eclipse, sometimes you have to refresh your project multiple times to see the generated-sources. If not try to generate the files by

right click on your project -> run as -> maven generate sources.

I followed below 2 steps after that Query dsl class stopped giving compilation error.

Enable annotation processing in eclipse. Add generated package in source in the classpath.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!