![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错总结
feifei_Tang
这个作者很懒,什么都没留下…
展开
-
Cannot resolve template loader path [classpath:/templates/] to [java.io.File](Freemarker使用jar中的模板)
使用springboot+freemarker时,项目启动时报错:DEBUG 16:24:07 o.s.w.s.v.f.FreeMarkerConfigurer.getTemplateLoaderForPath 354 :Cannot resolve template loader path [classpath:/templates/] to [java.io.File]: using SpringTemplateLoader as fallbackjava.io.FileNotFoundExcept原创 2020-05-14 16:41:34 · 3124 阅读 · 0 评论 -
spring boot 启动报错ERROR 12312 --- [ restartedMain] o.s.boot.SpringApplication
我查看了下,发现是该项目连接的MySQL没有启动,启动MySQL后问题就解决了。PS:出现这个报错的原因貌似挺多的,仅做参考。原创 2020-03-17 16:04:01 · 6695 阅读 · 0 评论 -
Host '192.168.0.104' is blocked because of many connection errors; unblock with 'mysqladmin
今天启动项目时,发现报了这个错:再用navicat连接该数据库,也是报错:原因:同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的数据库连接而导致的阻塞 (短时间内链接错误次数过多)。解决办法:用其他电脑登录数据库执行 flush hosts 命令。flush hosts;...原创 2019-11-04 11:06:07 · 1497 阅读 · 1 评论 -
spring boot 启动报错org.apache.catalina.LifecycleException: Protocol handler start failed
报错原因是默认的端口号8080已经被占用了,修改一下端口就好了。在配置文件中修改端口号:原创 2019-04-01 16:15:50 · 780 阅读 · 0 评论 -
pom.xml报错 Element 'project' cannot have character [children],because the type's content type
springBoot项目中project出现红色波浪线,查看报错信息显示:Element ‘project’ cannot have character [children],because the type’s content type.检查后发现,原来是打开pom.xml文件后不小心在上图红色框位置输入了一个0,把0删掉就好了。...原创 2019-04-10 15:30:54 · 6491 阅读 · 5 评论