java.io.NotSerializableException: freemarker.template.Template
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at org.jeecgframework.web.system.service.impl.RedisCacheService.serialize(RedisCacheService.java:76)
at org.jeecgframework.web.system.service.impl.RedisCacheService.put(RedisCacheService.java:38)
at org.jeecgframework.web.cgform.engine.TempletContext.getTemplateFromCache(TempletContext.java:107)
at org.jeecgframework.web.cgform.engine.TempletContext.getTemplate(TempletContext.java:80)
at org.jeecgframework.web.cgform.controller.build.CgFormBuildController.getTableTemplate(CgFormBuildController.java:417)
at org.jeecgframework.web.cgform.controller.build.CgFormBuildController.ftlForm(CgFormBuildController.java:368)
at org.jeecgframework.web.cgform.controller.build.CgFormBuildController.goAdd(CgFormBuildController.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)