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