cannot expose session attribute '_from_source' because of an existing model object of the same name

启动不报异常,访问报此异常:

cannot expose session attribute '_from_source' because of an existing model object of the same name 


<property name="viewResolvers">
<list>
<bean id="velocityViewResolver" class="cn.bidlink.portal.common.velocity.BidVelocityViewResolver">
<property name="exposeSessionAttributes" value="true" />    <!-- 加上这句话就ok   --->
</bean>
</list>
</property>

阅读更多
个人分类: java
博主设置当前文章不允许评论。

没有更多推荐了,返回首页

不良信息举报

cannot expose session attribute '_from_source' because of an existing model object of the same name

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭