<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)

    最新隨筆

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 久久国产色AV免费看| 外国成人网在线观看免费视频| 欧洲乱码伦视频免费| 666精品国产精品亚洲 | 久久亚洲国产成人精品无码区| 国产成人精品日本亚洲语音 | 亚洲视频一区调教| 91人成网站色www免费下载| 久久亚洲日韩精品一区二区三区| 日韩精品无码一区二区三区免费| 久久久久亚洲av无码专区| 伊人久久免费视频| 亚洲精品美女久久久久| 成人免费一区二区无码视频| 亚洲色丰满少妇高潮18p| 免费人成年激情视频在线观看| 一二三区免费视频| 亚洲AV无码乱码在线观看裸奔| 222www在线观看免费| 精品国产日韩久久亚洲| 亚洲国产主播精品极品网红| 国产亚洲精品免费视频播放| 久久精品a亚洲国产v高清不卡 | 国产aa免费视频| www成人免费观看网站| 亚洲狠狠综合久久| 99久久免费精品国产72精品九九 | 亚洲精品国产自在久久| 久久精品一区二区免费看| 波多野结衣亚洲一级| 亚洲人妻av伦理| 精品成在人线AV无码免费看 | 国产成人无码区免费网站| 亚洲婷婷综合色高清在线| 四虎影视在线永久免费观看| 99免费精品视频| 亚洲精品理论电影在线观看| 久久久久久久尹人综合网亚洲| AA免费观看的1000部电影| 中国一级毛片免费看视频| 色偷偷亚洲女人天堂观看欧|