![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IDEA
coder gogo
这个作者很懒,什么都没留下…
展开
-
idea+springMVC+thymeleaf,热部署无效解决
先说我的问题,SpringMVC项目中使用了thymeleaf引擎,(注意我使用的是springmvc不是springboot)环境是idea2019.3企业版,按照网上最普遍的做法就是例如这样,但是依然无效(猜测应该是我用了springmvc的缘故)如果还是无效的话,可以尝试着这样去配置:删除原先的spring.thymeleaf.cache=false将thymeleaf缓存关闭写在视图解析器的bean配置中,如下,在templateResolver中加入cacheable的参数。<原创 2021-04-26 11:58:30 · 712 阅读 · 6 评论 -
pom经常加载jar包不成功,报错:Cannot resolve XXX
报错截图:最近使用IDEA 老是遇到pom加载jar包时报 未识别xxx资源的错误,然后去一些官方仓库去查看这个jar包,发现是有的,去检查了IDEA 调用的maven的路径也是正确的,比较头疼。最后,发现问题了,应该是maven仓库镜像用的不对,将镜像修改成阿里maven仓库<mirror> <id>alimaven</id> <name...原创 2020-02-22 18:50:55 · 7568 阅读 · 0 评论 -
Error resolving template xxx, template might not exist or...
报错:org.thymeleaf.exceptions.TemplateInputException: Error resolving template [XXX], template might not exist or might not be accessible by any of the configured Template Resolvers环境:IDEA+springboot +...原创 2020-02-08 12:42:37 · 1481 阅读 · 0 评论 -
IntelliJ IDEA为类和方法自动添加注释
IntelliJ IDEA为类和方法自动添加注释转载原文转载 2020-01-10 14:50:36 · 247 阅读 · 0 评论