Springboot + thymeleaf 搭建问题
Error resolving template [/index], template might not exist or might not be accessible by any of the configured Template Resolvers
在查找大部分资料以后,该方面问题解决方案参差不齐且杂乱。在尝试诸多方法之后我发现,我的问题出现在template的资源识别
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include> //问题解决
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.yml</include>
</includes>
</resource>
</resources>
</build>
我的问题在于没有正确配置resources文件导致无法识别templates 可在