[WARN ] - Custom EL functions won't be loaded because no ObjectWarpper was specified .
项目启动时出现这个警告,请问大神们怎么解决?
<bean id="freeMarkerConfigurer" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPaths">
<array>
<value>classpath:/</value>
<value>${template.loader_path}</value>
</array>
</property>
<property name="freemarkerSettings">
<props>
<prop key="defaultEncoding">${template.encoding}</prop>
<prop key="url_escaping_charset">${url_escaping_charset}</prop>
<prop key="template_update_delay">${template.update_delay}</prop>
<prop key="tag_syntax">auto_detect</prop>
<prop key="whitespace_stripping">true</prop>
<prop key="classic_compatible">true</prop>
<prop key="number_format">${template.number_format}</prop>
<prop key="boolean_format">${template.boolean_format}</prop>
<prop key="datetime_format">${template.datetime_format}</prop>
<prop key="date_format">${template.date_format}</prop>
<prop key="time_format">${template.time_format}</prop>
<prop key="object_wrapper">freemarker.ext.beans.BeansWrapper</prop>
<prop key="template_exception_handler">net.shopxx.FreeMarkerExceptionHandler</prop>
</props>
</property>
<property name="freemarkerVariables">
<map>
<!-- 暂时不需要这个变量,可有代码中设置-->
<!--<entry key="base" value="#{servletContext.contextPath}" />-->
<entry key="showPowered" value="#{${show_powered}}" />
<entry key="showThird" value="#{${show_third}}" />
<entry key="message" value-ref="messageMethod" />
<entry key="abbreviate" value-ref="abbreviateMethod" />
<entry key="currency" value-ref="currencyMethod" />
<entry key="flash_message" value-ref="flashMessageDirective" />
<entry key="current_member" value-ref="currentMemberDirective" />
<entry key="pagination" value-ref="paginationDirective" />
<entry key="seo" value-ref="seoDirective" />
<entry key="ad_position" value-ref="adPositionDirective" />
<entry key="member_attribute_list" value-ref="memberAttributeListDirective" />
<entry key="navigation_list" value-ref="navigationListDirective" />
<entry key="tag_list" value-ref="tagListDirective" />
<entry key="friend_link_list" value-ref="friendLinkListDirective" />
<entry key="brand_list" value-ref="brandListDirective" />
<entry key="attribute_list" value-ref="attributeListDirective" />
<entry key="article_list" value-ref="articleListDirective" />
<entry key="article_category_root_list" value-ref="articleCategoryRootListDirective" />
<entry key="article_category_parent_list" value-ref="articleCategoryParentListDirective" />
<entry key="article_category_children_list" value-ref="articleCategoryChildrenListDirective" />
<entry key="goods_list" value-ref="goodsListDirective" />
<entry key="product_category_root_list" value-ref="productCategoryRootListDirective" />
<entry key="product_category_parent_list" value-ref="productCategoryParentListDirective" />
<entry key="product_category_children_list" value-ref="productCategoryChildrenListDirective" />
<entry key="review_list" value-ref="reviewListDirective" />
<entry key="consultation_list" value-ref="consultationListDirective" />
<entry key="promotion_list" value-ref="promotionListDirective" />
</map>
</property>
</bean>
``
template.loader_path=/WEB-INF/template
template.encoding=UTF-8
template.update_delay=3600
template.number_format=0.\#\#\#\#\#\#
template.boolean_format=true,false
template.datetime_format=yyyy-MM-dd
template.date_format=yyyy-MM-dd
template.time_format=HH:mm:ss
template.suffix=.ftl