<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Natural

     

    [ant]使用ant進行junit測試時的問題:Could not create tas k or type of type: junit.

    用ant來進行juni測試可能會遇到如下問題:
    Could not create task or type of type: junit.

    解決方案:
    將junit.jar放到ant的lib目錄下。


    BUILD FAILED
    D:\workspace_center\workspace3.2.2\antExample\build.xml:57: Could not create task or type of type: junit.

    Ant could not find the task or a class this task relies upon.

    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
     - You have misspelt 'junit'.
       Fix: check your spelling.
     - The task needs an external JAR file to execute
         and this is not found at the right place in the classpath.
       Fix: check the documentation for dependencies.
       Fix: declare the task.
     - The task is an Ant optional task and the JAR file and/or libraries
         implementing the functionality were not found at the time you
         yourself built your installation of Ant from the Ant sources.
       Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
         task and make sure it contains more than merely a META-INF/MANIFEST.MF.
         If all it contains is the manifest, then rebuild Ant with the needed
         libraries present in ${ant.home}/lib/optional/ , or alternatively,
         download a pre-built release version from apache.org
     - The build file was written for a later version of Ant
       Fix: upgrade to at least the latest release version of Ant
     - The task is not an Ant core or optional task
         and needs to be declared using 
    <taskdef>.
     - You are attempting to use a task defined using
        
    <presetdef> or <macrodef> but have spelt wrong or not
       defined it at the point of use

    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath

    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.

    Total time: 1 second




    posted on 2010-08-11 12:03 此號已被刪 閱讀(827) 評論(0)  編輯  收藏 所屬分類: 腳本

    導航

    統計

    常用鏈接

    留言簿(8)

    隨筆分類(83)

    隨筆檔案(78)

    文章檔案(2)

    相冊

    收藏夾(7)

    最新隨筆

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 91亚洲精品自在在线观看| 免费人妻av无码专区| 亚洲αv久久久噜噜噜噜噜| 中文字幕不卡高清免费| 国产亚洲美日韩AV中文字幕无码成人| 黄网站在线播放视频免费观看| 国产jizzjizz免费视频| 特级毛片全部免费播放| 亚洲午夜无码片在线观看影院猛 | 一二三四视频在线观看中文版免费 | 一级做a免费视频观看网站| 亚洲国产成人久久一区WWW| 成人国产网站v片免费观看| 久久亚洲高清综合| 99久久免费国产精品热| 亚洲AV乱码久久精品蜜桃| 18禁免费无码无遮挡不卡网站| 国产精品亚洲一区二区麻豆| 成人永久福利免费观看| 特级毛片aaaa免费观看| 亚洲第一极品精品无码久久| www视频在线观看免费| 亚洲hairy多毛pics大全| 国内精品99亚洲免费高清| 99精品国产成人a∨免费看| 亚洲伦理中文字幕| 亚洲成a人在线看天堂无码| 国产真人无码作爱视频免费| 亚洲妇女熟BBW| 久久激情亚洲精品无码?V| 午夜免费福利视频| 亚洲国产欧洲综合997久久| 伊伊人成亚洲综合人网7777| 8x8×在线永久免费视频| 国产精品成人亚洲| 亚洲国产精品久久久久| 日本免费一区二区三区最新vr| 女同免费毛片在线播放| 亚洲Av永久无码精品黑人 | 免费观看a级毛片| 日韩电影免费在线观看网站|