摘要: jar xf filename.jar 解决方案转自:https://stackoverflow.com/questions/5107187/extract-source-code-from-jar-file 相关博客:https://blog.csdn.net/mxmxz/article/deta 阅读全文
posted @ 2019-04-24 15:55 蔚之蓝 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 在springBoot+Mybatis(Mapper)日志显示SQL的执行情况的最简单方法就是在application.yml新增如下日志配置:logging.level.com.dc.pcasweb.mapper: debug 阅读全文
posted @ 2019-03-12 16:45 蔚之蓝 阅读(10801) 评论(1) 推荐(0) 编辑
摘要: 1、解决springboot项目,插入时间数据到数据库为空的问题: SpringBoot Jpa 实体定义,在MySql中自动生成时间 https://blog.csdn.net/wokenshin/article/details/81215330 阅读全文
posted @ 2019-02-26 17:25 蔚之蓝 阅读(2135) 评论(0) 推荐(0) 编辑
摘要: 第一步:给 id 增加auto_increment 属性 alter table tablename modify id int(11) auto_increment;第二步:给自增值设置初始值 alter table tablename auto_increment=10000; 阅读全文
posted @ 2019-02-26 14:46 蔚之蓝 阅读(16055) 评论(0) 推荐(0) 编辑
摘要: 报错内容: mysql> insert into person values (1,22,'小明');ERROR 1366 (HY000): Incorrect string value: '\xE5\xB0\x8F\xE6\x98\x8E' for column 'name' at row 1 解 阅读全文
posted @ 2019-02-12 15:29 蔚之蓝 阅读(12774) 评论(2) 推荐(1) 编辑
摘要: springboot mysql数据库操作实例 启动项目时,出现如下报错: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. 解决方案: 使用root用户后 阅读全文
posted @ 2019-02-11 17:15 蔚之蓝 阅读(965) 评论(0) 推荐(0) 编辑
摘要: 在application.yml中填写中文字符,在读取该文件时会出现中文乱码问题。 视图显示乱码: 解决方式: IDEA环境,首先File->settings->Code style->File Encoding 将project encoding和Default encoding for prop 阅读全文
posted @ 2019-02-11 15:58 蔚之蓝 阅读(8314) 评论(0) 推荐(0) 编辑