classpathresource[templates/]cannotberesolvedtoURLbecauseitdoesnotexist
(2019-07-27 21:25:32)class path resource [templates/] cannot be resolved to URL
because it does not exist
解决方案
idea --》project structure
--》modules 找到对应的web模块,把templates设置成resources
另外
pom加
org.apache.maven.plugins
maven-compiler-plugin
1.8
1.8
src/main/resources
***.xml
***.ftl
false
src/main/java
***.xml
**/*.yml
false
前一篇:逻辑K850手机蓝牙连接的设置
后一篇:oracle客户端插件下载地址