src/main/java/com/zy/common/utils/Struct.java
@@ -244,7 +244,7 @@ @SuppressWarnings({ "unchecked", "rawtypes" }) public static <T extends Struct> T decode(Class<? extends Struct> cls,byte[] bytes) throws Exception{ Struct instance = cls.newInstance(); Struct instance = cls.getDeclaredConstructor().newInstance(); return instance.decode(bytes); }