There was an error in the forked process
org/testng/ITestListener has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
我有一个springboot的项目,本来是用Java11创建的,都已经打包成jar了,然后要降成Java8,降成Java8后运行没报错,打包报错了,最后将test目录下的测试类删了才解决
似乎是@Test标签的那个包有问题