05 2019 档案

摘要:1,在idea中新建jsp文件 首先需要在springboot项目 在src 中webapp /WEB-INF/JSP 当我右键想新建一个jsp文件时默认没有 File->Project Struction ->modules 按加号 新增web,双击web resource directory 修 阅读全文
posted @ 2019-05-26 15:09 BrokenColor 阅读(1065) 评论(0) 推荐(0)
摘要:笔者问题:mysql表(表中数据就是乱码,可能是插入时编码问题,这个问题以后解决)导出excel时数据中有乱码(但是在页面上查看是正常的),我们希望能导出一份没有中文乱码的excel 根据热力站中一&# 阅读全文
posted @ 2019-05-17 11:08 BrokenColor 阅读(3201) 评论(0) 推荐(0)
摘要:1.通过set进redis中的数据,get不到 在redis-cli 中查看 发现key值出现 \xac\xed\x00\x05t\x00\x06city_2 key是乱码 原因:序列化是默认用的JdkSerializationRedisSerializer 在redis配置中添加 2.如果希望ja 阅读全文
posted @ 2019-05-15 09:45 BrokenColor 阅读(627) 评论(0) 推荐(0)
摘要:错误信息:org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'pageable' cannot be found on object of type 'org.springf 阅读全文
posted @ 2019-05-13 17:13 BrokenColor 阅读(14661) 评论(0) 推荐(1)
摘要:1.验证你的CentOS 版本 Docker 要求 CentOS 系统的内核版本高于3.10,验证你的CentOS 版本是否支持 Docker 。 通过 uname -r 命令查看你当前的内核版本 2.删除旧版本 笔者结果截图 3.在新主机上首次安装Docker CE之前,需要设置Docker存储库 阅读全文
posted @ 2019-05-13 11:20 BrokenColor 阅读(301) 评论(0) 推荐(0)
摘要:1.一对一关联 @OneToOne 2.多对一和一对多 @ManyToOne @OneToMany 3.多对多 @ManyToMany 有兴趣的朋友可以查看本人spring-boot-jpa GitHub项目 阅读全文
posted @ 2019-05-10 23:53 BrokenColor 阅读(4073) 评论(0) 推荐(0)
摘要:问题:idea配置echache.xml报错Cannot resolve file 'ehcache.xsd' 解决办法: 1.打开settings->languages&frameworks->schemas and dtds ,添加地址 http://ehcache.org/ehcache.xs 阅读全文
posted @ 2019-05-10 11:34 BrokenColor 阅读(997) 评论(0) 推荐(0)
摘要:restful接口报错: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('e' (code 101)): was expecting double-quote to start field name 检查接口 阅读全文
posted @ 2019-05-09 14:33 BrokenColor 阅读(451) 评论(0) 推荐(0)