Parent interface of Collection: Iterable Interface A class that implements the Iterable can be used with the new for-loop. The Iterable interface has only one method: public interface Iterable<T> { public Iterator<T> iterator(); } It is possib…
当我们使用gson 转对象时,并且这个对象中有一些属性是懒加载时如 @Entity @Table(name = "user") public class User { @Id @Column(columnDefinition="varchar(255)") @GeneratedValue(generator="idGenerator") @GenericGenerator(name="idGenerator", strateg…
转自:https://blog.csdn.net/rchm8519/article/details/23788053 1. ERROR - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/ap…
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…