Discussion:
[FreeMarker-user] Has springs setup changed from templateLoaderPath?
S Ahmed
2013-10-03 19:08:52 UTC
Permalink
I updated spring to 3.2.4.RELEASE and now my application context XML file
is showing me that templateLoaderPath isn't available anymore:


<bean id="freemarkerConfig"
class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPath" value="/WEB-INF/views"/>
</bean>


Has anyone else run into this?
Daniel Dekany
2013-10-04 20:52:34 UTC
Permalink
You mean, it says there's no "templateLoaderPath" property, or what
exactly? (That would be very strange.
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
should have a public setTemplateLoaderPath method; you can check that
under Eclipse easily).
--
Thanks,
Daniel Dekany
Post by S Ahmed
I updated spring to 3.2.4.RELEASE and now my application context
<bean id="freemarkerConfig"
class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPath" value="/WEB-INF/views"/>
</bean>
Has anyone else run into this?
Loading...