BaseDao接口: import java.util.List; public interface BaseDao<T,PK> { public void add(T t); public void upd(T t); public void del(PK id); public T getById(PK id); public List<T> getAll(); public List<Track> getByAid(String activityId); } Ba…
If the superclass is a parameterized type, the {@code Type} * object returned must accurately reflect the actual type * parameters used in the source code. T 上文档DOC,如果父类是一个参数化类型,那么Type返回的是参数类型的真实类型 package entity; import java.lang.reflect.Parameteriz…
java.lang.ClassCastException: com.sun.proxy.$Proxy32 cannot be cast to com.bkc.bpmp.core.cache.MemcachedManager at com.bkc.bpmp.common.utils.CacheUtils.<clinit>(CacheUtils.java:11) at com.bkc.bpmp.modules.sys.controller.MainController.showCache(Main…