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

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

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

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

 

相关文章:

  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-05-13
猜你喜欢
  • 2021-11-27
  • 2021-08-09
  • 2021-10-25
  • 2022-12-23
  • 2021-12-22
  • 2021-12-20
相关资源
相似解决方案