简体   繁体   中英

How to generate querydsl source code in eclipse kepler using maven

I want to learn Querydsl. so I went through this link

http://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html

I have used maven and eclipse kepler. Its genetering the folder target/generated-sources but does not generating the java class ie QCustomer class. I also googled for step by step tutorial but couldn't find.please help.I am beginner Thanks

Does it work from console, ie calling mvn compile ?

If not, do you have correctly annotated JPA entities in your artifact (are using Querydsl-JPA at all)?

It it does work from console, you may have to install the m2e connector for build-helper-maven-plugin (simply search the Eclipse marketplace).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM