I just took a look at the structure of Hibernate 3.6 on github and found that it is compiled using maven. Therefore, it is recommended that @ Zhuyaofeng use maven's eclipse plug-in to generate an eclipse project, and then import it into eclipse.
The specific method is:
1. You need to install maven (I believe you have already installed it)
2. Use mvn install hibernate project
3. Use mvn eclipse:eclipse -DdownloadSources 生成 eclipse 工程, 然后导入 eclipse 中. 其中 -DdownloadSources to download the source code, which makes it easier for you to view the dependent source code in eclipse.
This is a simple step, if you still have any questions, please leave a comment.
Try it yourself first, then look at the source code of other projects later, and you won’t have this problem.
I just took a look at the structure of Hibernate 3.6 on github and found that it is compiled using maven. Therefore, it is recommended that @ Zhuyaofeng use maven's eclipse plug-in to generate an eclipse project, and then import it into eclipse.
The specific method is:
1. You need to install maven (I believe you have already installed it)
2. Use
mvn install
hibernate project3. Use
mvn eclipse:eclipse -DdownloadSources
生成 eclipse 工程, 然后导入 eclipse 中. 其中-DdownloadSources
to download the source code, which makes it easier for you to view the dependent source code in eclipse.This is a simple step, if you still have any questions, please leave a comment.
Try it yourself first, then look at the source code of other projects later, and you won’t have this problem.