Hibernate Tools インストール
プロジェクトを選択して「新規」→「その他」でHibernate.cfg.xml編集ツールが選択できればOK
必要なライブラリ
ログ用のフレームワーク「SLF4J(
http://www.slf4j.org/)」のサイトから(slf4j-1.6.0.zip)をダウンロード・解凍し、
解凍したフォルダの「slf4j-log4j12-1.5.2.jar」ファイルを
「PKG\Hello\WEB-INF\lib」配下にコピーします。
Apacheの公式ページ「Logging Services(
http://logging.apache.org/log4j/)」より、
「apache-log4j-1.2.16.zip」をダウンロード・解凍し、
解凍したフォルダの「log4j-1.2.16.jar」ファイルを「/TOMCAT_HOME/lib」配下へコピーします。
配置(lib)
hibernate3.jar |
hibernate-distribution-3.3.1.GA\ |
antlr-2.7.6.jar |
hibernate-distribution-3.3.1.GA\lib\required\ |
commons-collections-3.1.jar |
hibernate-distribution-3.3.1.GA\lib\required\ |
dom4j-1.6.1.jar |
hibernate-distribution-3.3.1.GA\lib\required\ |
javassist-3.4.GA.jar |
hibernate-distribution-3.3.1.GA\lib\required\ |
jta-1.1.jar |
hibernate-distribution-3.3.1.GA\lib\required\ |
slf4j-api-1.6.0.jar |
slf4j-1.6.0\ |
slf4j-log4j12-1.6.0.jar |
slf4j-1.6.0\ |
log4j-1.2.16.jar |
apache-log4j-1.2.16\ |
commons-logging-1.1.1.jar |
commons-logging-1.1.1\ |
参考サイト等
最終更新:2010年07月09日 00:25