光辉飞翔

导航

 

The <classpath> or <modulepath> for <junit> must include junit.jar if not in Ant's own classpath

复制junit.jar到ANT_HOME/lib目录下,重新刷新eclipse中的配置:

重新执行mvn test,或者直接执行build.xml的ant脚本。错误提示消失。

 

posted on 2018-08-21 16:19  光辉飞翔  阅读(1716)  评论(0编辑  收藏  举报