Hibernate 4.1.9:我需要哪些jar文件? [英] Hibernate 4.1.9 : Which jar files do I need?

查看:92
本文介绍了Hibernate 4.1.9:我需要哪些jar文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始从 Hibernate 3.2在简单的步骤书,但我下载了最新版本的Hibernate 4.1.9。根据这本书,我们需要添加许多必需的jar,像

I started to learn Hibernate framework from "Hibernate 3.2 in Simple Steps" book, but I downloaded latest version of Hibernate which is 4.1.9. According to the book there are many essential jars we need to add to the class path like


  • Anttr-2.7.6.jar
  • >
  • asm.jar

  • asm-attrs.jar

  • cglib-2.1.3.jar

  • commons-collections-2.1.1.jar

  • commons-logging-1.0.4.jar



  • 。等等。
  • Anttr-2.7.6.jar
  • asm.jar
  • asm-attrs.jar
  • cglib-2.1.3.jar
  • commons-collections-2.1.1.jar
  • commons-logging-1.0.4.jar
  • . . . etc.

但我无法在新版本中找到所有需要的罐子。那么,我可以做什么,而不去旧版本?我只需要在需要的文件夹中添加jar文件,,,任何人都可以告诉我需要添加classpath(4.1.9版本)的jar文件。
这个问题可能很愚蠢,但我是一个初学者,我被困在这里。请帮帮我。
谢谢!

But I can't find all those required jars in new version. So what can I do without going for an old version ?? Do I just only need to add jars in required folder,,, can any one please tell me what jars I should need to add class path (4.1.9 version). This question may be silly but I'm a beginner and I'm stuck here. Please help me. Thank you!

推荐答案

antlr-2.7.7.jar
commons-collections-3.2.1.jar
dom4j-1.6.1.jar
javassist-3.12.1.GA.jar
hibernate-core-4.0.1.Final.jar
hibernate-commons-annotations-4.0.1.Final.jar
hibernate-jpa-2.0-api-1.0.1.Final.jar
jboss-logging-3.1.0.CR2.jar
jboss-transaction-api_1.1_spec-1.0.0.Final.jar

您下载的zip文件将包含lib.It中必需的文件夹。它将拥有所有必需的jar。

The zip file which you download will have a required folder inside lib.It will be having all the necessary jars.

这篇关于Hibernate 4.1.9:我需要哪些jar文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆