Closed qiusxn closed 6 years ago
Hello Ethan, Thanks for your question, really appreciated. I understand your problem. When you Import this project, You need to fulfill the requirements.
If you have imported project in eclipse, Follow this steps to build project:
Now as per your question, QPerson is missing Once you follow above steps it will be generated automatically in ../Project_Dir/target/net/../server/model/QPerson.java
You may have question that how this was generated ? If you observed libraries (Dependencies) in pom.xml ,
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
You need to know more about H2 Database. H2 is a relational database management system written in Java. It can be embedded in Java applications or run in the client-server mode.
Hope so you get idea about this things. Thanks, The Rax
Thanks Rax, thank you for the quick response and detail procedure.
Your welcome @qiuqiuqiuqiuqiuqiu . If you think your problem has been resolved, you can close this issue.
Hi, While I imported this project, we found there is no class 'net.mzouabi.ng2.server.model.QPerson'. We found 'net.mzouabi.ng2.server.model.Person', but in Person class, there is no public element: 'person' and 'id'. Waiting for your response.
Regards Ethan