- 博客(7)
- 资源 (3)
- 问答 (2)
- 收藏
- 关注
原创 An error happened during template parsing (template: “class path resource [templates/emp/error.html]
SpringBoot+thymeleaf报错An error happened during template parsing (template: "class path resource [templates/emp/error.html]找了许多方法,,都不是我要的结果。最终发现我的异常处理类里面的Exception的E是大写,而返回异常处理信息页面的error.html中exception.message等之类的是小写,改了之后运行成功。...
2020-07-31 15:19:47 266
原创 jQuery设置click时候出现闪退
开始代码是$('.menu.toggle').click( function (){ $('.m-item').toggleClass('m-mobile-hide');});点击按钮事件时闪退。几经周折,困住我一下午,最后找到个解决方案代码修改为 $(".menu.toggle").on('click',function(event){ event.preventDefault(); $('.m-item').toggleClass('m-mobile-hide'
2020-07-22 17:55:58 444
原创 【超简单】SpringBoot整合注解MyBatis
搭建简单的SpringBoot项目。需要MyBtais、SQL、SpringBoot相关知识。
2020-07-12 18:45:53 749
原创 springboot使用JDBC报错Access denied for user ‘‘@‘localhost‘ (using password: NO)
原配置文件(yml)spring: datasource: data-username: root data-password: root123 url: jdbc:mysql://localhost:3306/wzmysql?useUnicode=true&&characterEncoding=utf8&&useSSL=false&&serverTimezone=GMT%2B8 driver-class-name: co
2020-07-09 16:01:00 423
原创 <解决>SpringBoot启动报错:Correct the classpath of your application so....
SpringBoot启动报错:Correct the classpath of your application so that it contains a single, compatible version of org.thymeleaf.spring5.SpringTemplateEngine经排查发现:因为thymeleaf版本为3.3.1,所以springboot应该使用1.5.10。修改后成功。...
2020-07-08 15:38:13 3980 4
如何理解里氏替换原则中的“方法的前置条件(即方法的输入参数)要比父类的方法更宽松”一项?
2022-04-21
Java实际开发中,重写toString方法是否违背了里氏替换原则?
2022-04-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人