Hibernate3.X源码转换成本地Eclipse项目
PHPz
PHPz 2017-04-21 10:58:04
0
1
699

由于最近想研究Hibernate的运行原理,从Github上搞了一份Hibernate的源码,可是整理到本地Eclipse里总是报错,不知有没有大神研究过Hibernate项目的分支开发?

PHPz
PHPz

学习是最好的投资!

reply all(1)
大家讲道理

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!