![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
friover
这个作者很懒,什么都没留下…
展开
-
springboot整合thymeleaf所需要的注意的点,一个点踩错,一个小时都不一定找的到!
第一点:thymeleaf对html最顶部不支持PUBLIC "-//W3C…"规范解决办法:最好整个去掉第二点:html放在templates里,css和js放在static里,在html文件里引入css和js样式的时候,这样写就行,表示引入的是根目录下(即resources下,可以忽视static)<link type="text/css" rel="stylesheet" th:href="@{/css/style.css}"/><script type="text/ja原创 2020-08-16 23:01:09 · 125 阅读 · 0 评论 -
There was an unexpected error (type=Internal Server Error, status=500). An error happened during tem
对于这种错误,一般只有两种可能,第一是:thymeleaf在前端没有配置,不过说实话,配置这个只是前端写起来有提示,,,,实际上html是可以识别thymeleaf第二就是前端代码多了很多没用的东西,比如,要去掉才行,具体什么原因我也不清楚Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Sun Aug 16 00:03:52原创 2020-08-16 00:07:32 · 3165 阅读 · 0 评论 -
spingboot使用逆向工程
2020-08-15 18:10:46.274 ERROR 12608 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4f188原创 2020-08-15 18:13:29 · 200 阅读 · 0 评论 -
IDEA2017.3.4输入法不跟随的解决办法
原因:idea对中文不太支持,毕竟是国外的软件,人家注释啥的都是英文解决办法:将idea目录的jre64改名为其他名字,比如改成jre641,不要删除,以免出了问题还能改回来 (请先忽视上方的jre64,那是之后的操作)然后就是将jdk里面的jre复制过来,改名为jre64,这就是我上面为什么出现的jre64(下图是:jdk里面的jre)最后了,将jdk里面lib文件下的tool.jar也复制到jre64里面的lib里面(这是的jre64就是从jdk里复制过来的)提示:1.如果用的jdk1原创 2020-07-26 11:11:28 · 219 阅读 · 0 评论 -
@DeleteMapping报405错误,除了代码出错之外,还要配置一下
在application.properties中添加如下配置spring.mvc.hiddenmethod.filter.enabled=true原创 2020-07-11 22:50:14 · 767 阅读 · 3 评论