慕思商城欢迎您!
登录
|
免费注册
|
[退出] |
购物车
|
我的订单
|
个人中心
|
掌上慕思
|
搜索
Hot searches:
歌蒂娅
儿童
客服热线:400-777-0077
首页
寝具
慕思助眠
首页
>
FreeMarker template error (DEBUG mode; use RETHROW in production!): An error has occurred when reading existing sub-variable "name"; see cause exception! The type of the containing value was: extended_hash+string (net.shopxx.entity.ProductCategory_$$_jvst8a_3c wrapped into f.e.b.StringModel) ---- FTL stack trace ("~" means nesting-related): - Failed at: ${goods.productCategory.name} auto-es... [in template "shop/default/goods/content.ftl" at line 467, column 74] ---- Java stack trace (for programmers): ---- freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...] at freemarker.ext.beans.BeanModel.get(BeanModel.java:199) at freemarker.core.Dot._eval(Dot.java:40) at freemarker.core.Expression.eval(Expression.java:78) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at freemarker.core.BuiltInForString._eval(BuiltInForString.java:26) at freemarker.core.Expression.eval(Expression.java:78) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at freemarker.core.DollarVariable.accept(DollarVariable.java:40) at freemarker.core.Environment.visit(Environment.java:312) at freemarker.core.MixedContent.accept(MixedContent.java:62) at freemarker.core.Environment.visit(Environment.java:312) at freemarker.core.EscapeBlock.accept(EscapeBlock.java:48) at freemarker.core.Environment.visit(Environment.java:312) at freemarker.core.MixedContent.accept(MixedContent.java:62) at freemarker.core.Environment.visit(Environment.java:312) at freemarker.core.Environment.process(Environment.java:290) at freemarker.template.Template.process(Template.java:312) at net.shopxx.service.impl.StaticServiceImpl.generate(StaticServiceImpl.java:121) at net.shopxx.service.impl.StaticServiceImpl.generate(StaticServiceImpl.java:251) at net.shopxx.service.impl.StaticServiceImpl.generateGoods(StaticServiceImpl.java:298) at net.shopxx.service.impl.StaticServiceImpl$$FastClassBySpringCGLIB$$b1e3fef9.invoke(
) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649) at net.shopxx.service.impl.StaticServiceImpl$$EnhancerBySpringCGLIB$$83302589.generateGoods(
) at net.shopxx.job.StaticJob.generateEagerGoods(StaticJob.java:60) 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:606) at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException 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:606) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1458) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:255) at freemarker.ext.beans.BeanModel.get(BeanModel.java:159) ... 37 more Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) at net.shopxx.entity.ProductCategory_$$_jvst8a_3c.getName(ProductCategory_$$_jvst8a_3c.java) ... 44 more