[testNG]Cannot find class in classpath解决方法 1.查看 testng.xml文件 2.核对文件路径是否与实际一致。 3.一般情况下是文件包体和xml中不一致,建议重新生成xml文件