ant-cannot find symbol@Test

后端 未结 1 1744
旧巷少年郎
旧巷少年郎 2021-01-27 17:34

I am trying to compile following class that has just the one function in it.

public class TestAnnotations {

@Test
public void testLogin(){
    System.out         


        
1条回答
  •  醉话见心
    2021-01-27 18:10

    You might need to add the jUnit library to the classpath so Ant knows where it is?

    ...
    
    ...
    

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