AnnotationTypeMismatchException
Java is strongly typed. If an annotation expects a value of one type (e.g., Day.MONDAY of enum type Day), and due to external modification or corrupted metadata, it receives something else (e.g., java.lang.String), the JVM throws AnnotationTypeMismatchException. This exception is rare in normal Java code. It usually happens when: Bytecode is altered by tools (e.g., …