Java 测试用例中的org/apache/log4j/Priority错误
我已经在我的项目中使用TestNG创建了一些测试用例。当我从eclipse运行测试用例时,它工作得很好。但在我的ant构建脚本中,TestNG给出了以下错误:Java 测试用例中的org/apache/log4j/Priority错误,java,ant,log4j,testng,testng-eclipse,Java,Ant,Log4j,Testng,Testng Eclipse,我已经在我的项目中使用TestNG创建了一些测试用例。当我从eclipse运行测试用例时,它工作得很好。但在我的ant构建脚本中,TestNG给出了以下错误: run.unit.tests: [testng] [TestNG] [Error] [testng] An error occurred while instantiating class com.sydac.tangara.tos.backend.test.FaultFunctionalityTests: org/apach
run.unit.tests:
[testng] [TestNG] [Error]
[testng] An error occurred while instantiating class com.sydac.tangara.tos.backend.test.FaultFunctionalityTests: org/apache/log4j/Priority
有人知道这个错误吗??
如果需要更多信息,请回复。ant提供的类路径中似乎缺少
log4j
。您可以共享您的ant build.xml文件吗?ant提供的类路径中似乎缺少log4j
。你能分享你的ant build.xml文件吗?