笔记
昵称改一下
这个作者很懒,什么都没留下…
展开
-
idea解决properties文件乱码问题
最近在学springboot对实体对象进行校验,properties 文件中的转换到页面上直接乱码,看教程需要在jdk下启动 native2ascii.exe 进行转换再将转换出来的粘贴到文件中有些麻烦…如下代码块userid.notnull=\u7528\u6237Id\u4e0d\u80fd\u4e3a\u7a7a-pro username.notnull=\u7528\u6237\u59d...原创 2020-04-02 17:26:42 · 1063 阅读 · 0 评论 -
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [addUser], template might
https://blog.csdn.net/xiangluer/article/details/83147571[试了一下,虽然不知道是为什么但是解决了]在application.yml下添加如下代码spring: thymeleaf: cache: false servlet: content-type: text/html mode: LEGACYH...原创 2020-04-01 18:08:45 · 312 阅读 · 0 评论 -
org.springframework.dao.TransientDataAccessResourceException
标题 org.springframework.dao.TransientDataAccessResourceExceptionorg.springframework.dao.TransientDataAccessResourceException: Error setting null for parameter #7 with JdbcType DATE . Try setting a di...原创 2020-03-08 20:30:15 · 2484 阅读 · 0 评论 -
javax.servlet.ServletException: Servlet.init() for servlet [springMVC] threw exception
标题 解决HTTP Status 500 – Internal Server ErrorType Exception ReportMessage Servlet.init() for servlet [springMVC] threw exceptionDescription The server encountered an unexpected condition that pre...原创 2020-03-07 09:56:32 · 720 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com._520.crm.mapper
标题 maven工程中:解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com._520.crm.mapper.EmployeeMapper.insert在pom.xml文件中添加代码块 <resources> <resource...原创 2020-03-06 16:45:49 · 144 阅读 · 0 评论 -
idea中使用idea-mybatis-generator插件
访问https://plugins.jetbrains.com/点进去搜索 idea-mybatis-generator找到相应的版本进行下载下载完成后解压,将解压之后的文件添加进自idea的安装目录下的plugins中,重启idea在任务栏中会有如下图所示的Plugin点击进行下一步操作其他填写内容网址内有显示,如下图:点击生成模板后,就可以生成了生成后emp...原创 2020-03-05 21:25:25 · 1014 阅读 · 1 评论