DreamTiger的夢幻樂園

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

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

          后來在hibernate網(wǎng)站上(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來進(jìn)行,但我也不知道他為什么會找不到j(luò)avac,反正我把a(bǔ)ntlr.jar拷到ant的lib下面,就OK了。



          posted on 2005-12-14 21:22 夢幻樂園 閱讀(319) 評論(0)  編輯  收藏 所屬分類: Java
          主站蜘蛛池模板: 宁河县| 辽中县| 岳阳县| 泸西县| 鹤庆县| 兴和县| 新蔡县| 长武县| 工布江达县| 涪陵区| 南部县| 千阳县| 罗城| 凤翔县| 吴忠市| 温州市| 沙湾县| 松桃| 泽库县| 屯昌县| 东源县| 任丘市| 虎林市| 祁东县| 南召县| 思南县| 苍南县| 清涧县| 虎林市| 筠连县| 高尔夫| 马山县| 陕西省| 通州区| 海阳市| 凯里市| 罗平县| 双流县| 那曲县| 汶川县| 京山县|