Occasionally encountered such a problem in development: Exception in thread “main” java.lang.IllegalStateException: Failed to read. . . . .
This error is followed by a jar package. Generally, the jar package in the local maven repository is damaged. Delete the jar package and update the maven project. This can basically be solved.