ResourceManager : unable to find resource '***.vm' in any resource loader

The project uses springboot+freemarker
to report an error when accessing each page:

ResourceManager : unable to find resource 'product/product_detail.vm' in any resource loader.

but has no effect on functionality,

need

stackoverflow gives a solution:

----------------------------------------------
Setting this in the configuration class will help: @EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class,VelocityAutoConfiguration.class })

----------------------------------------------

That is, we need to add the above annotations to the startup file of springboot to solve the problem.

Reference link:

http://stackoverflow.com/questions/31812481/spring-thymeleaf-resourcemanager-unable-to-find-resource-index-vm-in-any

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326641335&siteId=291194637