How to include Hibernate Javadoc in NetBeans?

泄露秘密 提交于 2019-12-23 17:10:42

问题


In netbeans I was looking for a hibernate javadoc option (the code completion is working properly but I was looking for the description of the functions).

I got one JAR file for Hibernate Javadoc : hibernate-3.2.2.ga-javadoc.jar but couldn't find a way to include this and make it work in NetBeans. I included the jar file in the Javadocs option of Java Platform/Library Manager, but that didn't provide any solution. I think there is a Hibernate Javadoc Zip/Folder available which provides the source code/class files and will be appropriate in this occasion but I couldn't get any such resources. Any suggestion?


回答1:


Go to sourceforge at http://sourceforge.net/projects/hibernate/files/hibernate3/, download the 3.2.2.ga hibernate bundle and include the javadocs and sources from there.




回答2:


I don't know why, but you MUST use the hibernate3.jar which comes in the .zip downloaded from sourceforge to NetBeans recognize/bind/accredit/link the JavaDoc with the hibernate3.jar. In my case the hibernate3 which one came with NetBeans7.0.1 is the same version (3.2.5 ga) than the downloaded from http://sourceforge.net/projects/hibernate/files/hibernate3/ (I unziped both had the same quantity of folders, files...) but different sizes.



来源:https://stackoverflow.com/questions/3555420/how-to-include-hibernate-javadoc-in-netbeans

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