C:\ test-app-java> echo%classpath%C:\ Program Files \ Java \ jre1.8.0_152; C:\ Program Files \ Java \ jdk1.8.0_152; c:\ test-ap p \ target \ test-classes; C:\ Users \ murkb001.m2 \ repository; c:\ TestNG \; c:\ test-app-ja va; c:\ test-app-java \ bin
C:\测试应用程式内的Java> java -cp“C:\ TestNG \ testng-6.11.jar; c:\ TestNG \ jcommander-1.7.jar”org.testng.TestNG testng.xml
错误是
C:\ test-app-java> java -cp“C:\ TestNG \ testng-6.11.jar; c:\ TestNG \ jcommander-1.7.ja r”org.testng.TestNG testng.xml
[TestNG] [ERROR]在类路径中找不到类:com.wdpr.payment.test.AuthorizePaymentTest