DreamTiger的夢幻樂園

          隨便寫寫,自得其樂,生活就是這樣

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            29 Posts :: 0 Stories :: 13 Comments :: 0 Trackbacks
          下載了Hibernate3.1編譯,無論通過build.bat還是ant jar都會出錯。前者會說找不到javac,我暈倒。后者說antlr/Tool找不到。

          后來在hibernate網站上(http://www.hibernate.org/6.html)看到:

          Fixing Ant classpath/plugin issues

          You may need to add junit.jar to your $ANT_HOME/lib directory if it is not there already, or alternatively remove the $ANT_HOME/lib/ant-junit.jar file. For Hibernate3, repeat the steps above, but also copy lib/antlr.jar or remove the $ANT_HOME/lib/ant-antlr.jar file.

          These steps are necessary because Ant ships with plugin stub libraries in its classpath, so Ant plugins for JUnit or Antlr can't be used without copying or removing files. If you don't have Ant installed on your machine or don't want to mess with the default Ant installation then, on Windows, just run build.bat to use the bundled Ant libraries.

          雖然他說可以用build.bat來進行,但我也不知道他為什么會找不到javac,反正我把antlr.jar拷到ant的lib下面,就OK了。



          posted on 2005-12-14 21:22 夢幻樂園 閱讀(319) 評論(0)  編輯  收藏 所屬分類: Java
          主站蜘蛛池模板: 玛曲县| 贡嘎县| 大宁县| 潞西市| 金秀| 卓尼县| 镇平县| 虞城县| 辽阳市| 湘乡市| 安新县| 射阳县| 宝丰县| 随州市| 霍城县| 卢龙县| 古交市| 佛学| 福贡县| 白沙| 田阳县| 泰安市| 咸宁市| 鄱阳县| 朔州市| 浦县| 万载县| 昌吉市| 巫山县| 怀来县| 阳信县| 泸水县| 黄浦区| 明溪县| 吴川市| 砚山县| 寻甸| 乐东| 乳源| 通州区| 穆棱市|