Original use of the EHcache, an error occurs when mybatis lazy loading is no problem, changed after redis, lazy loading to obtain data.
报:Cannot get Configuration as configuration factory was not set
Solution: lazyLoadingEnabled set to false.
Original use of the EHcache, an error occurs when mybatis lazy loading is no problem, changed after redis, lazy loading to obtain data.
报:Cannot get Configuration as configuration factory was not set
Solution: lazyLoadingEnabled set to false.