Question: I want to reload velocity template as it's changed. For this I've set the followings, but reload doesn't work when I manually change a .vm file inside `META-INF/template/` .

```
velocimacro.library.autoreload = true
[spring|file|class].resource.loader.cache = false

```

Any idea? Here is my velocityEngine bean

```
<bean id="velocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
    <property name="resourceLoaderPath" value="classpath:META-INF/template/" />
    <property name="preferFileSystemAccess" value="false" />
    <property name="velocityProperties">
        <props>
            <prop key="spring.resource.loader.cache">false</prop>
            <prop key="file.resource.loader.cache">false</prop>
            <prop key="class.resource.loader.cache">false</prop>
            <prop key="velocimacro.library.autoreload">true</prop>

            <prop key="resource.loader">spring</prop>
            <prop key="directive.foreach.counter.name">counter</prop>
            <prop key="directive.foreach.counter.initial.value">0</prop>
            <prop key="spring.resource.loader.class">
                org.springframework.ui.velocity.SpringResourceLoader
            </prop>
        </props>
    </property>
</bean>

```

Answer: 
Adding this property resolved this issue for me:

```
velocimacro.permissions.allow.inline.to.replace.global=true

```

I had the same problem when using the properties below but adding the above property enabled me to get auto-reload to work:

```
velocimacro.library.autoreload=true
file.resource.loader.cache=false

```

Please see [How to edit a velocimacro without restarting velocity?](https://stackoverflow.com/questions/5567742/how-to-edit-a-velocimacro-without-restarting-velocity)
Ok, i have velocityEngine bean set like this:

```
<bean id="velocityConfig" class="org.springframework.web.servlet.view.velocity.VelocityConfigurer">
        <property name="resourceLoaderPath" value="/templates/"/>
        <property name="velocityProperties">
            <props>
                <prop key="input.encoding">utf-8</prop>
             </props>
        </property>
</bean>
<bean id="viewResolver" class="org.springframework.web.servlet.view.velocity.VelocityViewResolver">
        <property name="cache" value="false"/>
        <property name="prefix" value=""/>
        <property name="suffix" value=".xhtml"/>
        <property name="contentType" value="text/html; charset=UTF-8" />
        <property name="exposeSpringMacroHelpers" value="true"/>
</bean>

```

(Assuming you use Spring framework, by the way)
and I have no problems with caching whatsoever. But I use the configurer bean instead of beanfactory. Try look into this.

And there's the thing, it's trivial, but still..., do you actually redeploy your project after modifying the template?