QueryDsl and @JsonAutoDetect - Q classes not generated

社会主义新天地 提交于 2019-12-13 18:18:45

问题


I figured out that if entity class has @jsonAutoDetect annotation, the Q class not generated, Here is the example :
https://github.com/prilia/SpringJpa-Quarydsl-Test/tree/master/JpaSpringQuarydsl

If remove JsonAutoDetect Q classes genereted fine, Please, how can I use with entity class as json ?


回答1:


In cases like these always disable the execution of the ATP plugin and see if your build has other issues.

e.g. https://github.com/prilia/SpringJpa-Quarydsl-Test/blob/master/JpaSpringQuarydsl/pom.xml#L432

import is not a valid scope.



来源:https://stackoverflow.com/questions/24915698/querydsl-and-jsonautodetect-q-classes-not-generated

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