New to Ant, ClassNotFoundException with JUnit

后端 未结 1 2016
误落风尘
误落风尘 2021-01-12 09:06

I\'ve been scratching my head over this for a while now (Googled a bunch, looked through other related SO posts to no avail). I have a Java program comprised of two files, <

1条回答
  •  鱼传尺愫
    2021-01-12 09:39

    You will need to add the directory with the Tests.class to the classpath.tests classpath (which is ${basedir} in your setup)

    Try:

     
       
       
       
       
    
    

    0 讨论(0)
提交回复
热议问题