我在pom中包含了testng依赖项。该jar会在更新项目中下载。该罐子在maven依赖项下可见。但是当我运行代码时,我得到了
线程“ main”中的异常java.lang.NoClassDefFoundError:com.sample.maven.mvntest.App.main(App.java:31)上的org / testng / TestNG 引起原因:java.lang.ClassNotFoundException:org.testng.TestNG
我的代码如下:
file 'intro.mp4'
file 'movie.mp4'
非常感谢您的帮助。