![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot学习
大伟的博客
这个作者很懒,什么都没留下…
展开
-
org.thymeleaf.exceptions.TemplateInputException: 报错解决方案
controller层只注解了@RequestMapping注解,导致返回的数据thymeleaf模板无法解析,所以会报错,解决方案:在方法上面添加 @Responsbody 注解可解决该问题原创 2019-10-12 16:01:59 · 720 阅读 · 0 评论 -
java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more
java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configu...原创 2019-08-21 21:52:01 · 1518 阅读 · 0 评论 -
Springboot 关于jsp报 Path with "WEB-INF" or "META-INF": [WEB-INF/jsp/index.jsp] 错误总结
有几种情况:1、服务器端日志输出为:o.s.w.s.r.ResourceHttpRequestHandler : Path with "WEB-INF" or "META-INF": [WEB-INF/jsp/userList.jsp]spring boot默认不使用jsp,需要在pom.xml中引用jsp的编译程序:<!--jsp页面使用jstl标签 -->...原创 2019-07-23 14:17:30 · 2115 阅读 · 1 评论 -
SpringBoot项目yml文件 不显示绿色小树叶的问题
显示为灰色或者是表格样式的,1、确认idea是否安装yaml插件,ctrl+alt+s,弹出setting窗口,选择plugins,在上面输入框中输入yaml2、如果没有安装,则重新安装yaml插件,并重启idea, 如果已安装完的,把yaml插件勾选上,重启idea即可以上遇到的问题,也是经过好长时间,才摸索出来的解决方案,不一定适合所有遇到的该...原创 2019-08-21 22:07:59 · 27594 阅读 · 12 评论 -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityMan...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed;原创 2019-08-21 22:17:55 · 420 阅读 · 0 评论