Exception: Method copyFile should have no parameters Method copyFile should have no parameters(方法copyFile应不含参数) 把copyFile方法上的@Test去掉,就可以了。