This problem probably occurs because the JDK versions are inconsistent, and the jar package will have signature files, which does not affect the logic of the program, but will cause the test demo to fail. Therefore, you need to delete the signature related files in the jar package
error condition
It is the .DSA under meta-inf\ And files with .SF suffix can be deleted
Done!