<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 此號已被刪 閱讀(830) 評論(0)  編輯  收藏 所屬分類: 腳本

    導航

    統(tǒng)計

    常用鏈接

    留言簿(8)

    隨筆分類(83)

    隨筆檔案(78)

    文章檔案(2)

    相冊

    收藏夾(7)

    最新隨筆

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 四虎永久在线观看免费网站网址| 亚洲午夜久久影院| 一级全免费视频播放| 成人福利在线观看免费视频| 国产免费一区二区视频| 亚洲成年人免费网站| 在线精品免费视频| 亚洲成av人片天堂网老年人| 亚洲成AV人在线播放无码 | 影音先锋在线免费观看| 7777久久亚洲中文字幕| 国产成人亚洲精品播放器下载| 91在线免费视频| 99久久免费精品国产72精品九九| 久久久久久亚洲精品不卡| 亚洲区视频在线观看| 亚洲一区二区三区免费| 毛片a级毛片免费观看品善网| 亚洲一区AV无码少妇电影☆| 亚洲一级毛片在线观| 玖玖在线免费视频| 久久亚洲美女精品国产精品 | 免费A级毛片无码视频| 成人免费无码精品国产电影| 亚洲熟妇丰满多毛XXXX| 可以免费观看的国产视频| 亚洲视频欧洲视频| 最新国产乱人伦偷精品免费网站 | 国产亚洲A∨片在线观看| 自拍偷自拍亚洲精品偷一| 在线视频精品免费| 亚洲国产精品免费视频| 久久久久久国产a免费观看黄色大片| 亚洲第一区二区快射影院| 久久精品免费电影| 亚洲精品无码AV人在线播放| 91免费福利精品国产| 亚洲高清在线观看| 91视频免费网站| 亚洲综合国产成人丁香五月激情| 亚洲精品免费在线|