我的蝙蝠档案是:
set projectLocation=C:\Users\admin\eclipse-workspace\Jenkins
cd %projectLocation%
set classpath=%projectLocation%\bin;%projectLocation%\lib\*
java org.testng.TestNG %projectLocation%\TestNG.xml
pause
我正在运行我的.bat文件,但在执行bat文件时显示错误消息
E:\Software\eclipse-java-oxygen-1a-win32-x86_64\eclipse>java
org.testng.TestNG C:\Users\admin\eclipse-workspace\Jenkins\TestNG.xml
Error: Could not find or load main class org.testng.TestNG
E:\Software\eclipse-java-oxygen-1a-win32-x86_64\eclipse>pause Press
any key to continue . . .
请任何人帮忙