哎哟,不错哦

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

12 2018 档案

java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Timestamp
摘要:java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Timestamp 错误是因为时间类型出现了0000-00-00 00:00:00 而在hibernate将结果映射成实体时,会认为此种格式不是正 阅读全文

posted @ 2018-12-17 09:05 哎哟,不错哦 阅读(222) 评论(0) 推荐(0) 编辑

idea 工具中项目文件上有灰色的小X号去除方法
摘要:初使用idea,在项目中发现类上有这样的灰色X号,启动项目后idea会报找不到这个类的错误,原因是它没有被编译, 解决方法 setting->Build->Compiler->Excludes 阅读全文

posted @ 2018-12-13 09:16 哎哟,不错哦 阅读(3110) 评论(0) 推荐(1) 编辑

mybatis 报The content of elements must consist of well-formed character data or markup. 语法格式错误
摘要:最近在写sql的时候 同时使用到了 >= 和 <= 之前只使用一个的时候 没有什么问题,今天同时使用到了两个,结果xml出现了The content of elements must consist of well-formed character data or markup.提示格式错误; 原来 阅读全文

posted @ 2018-12-11 09:47 哎哟,不错哦 阅读(8476) 评论(0) 推荐(2) 编辑

@EnableHystrix
摘要:使用注解的方式进行熔断降级 @HystrixCommand(fallbackMethod = "hiError") fallbackMenthod 属性表示使用熔断降级的方法,针对具体的某个方法,该注解使用在server方法上 阅读全文

posted @ 2018-12-04 22:10 哎哟,不错哦 阅读(9109) 评论(0) 推荐(0) 编辑

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) 注解的作用
摘要:在学习boot 项目的时候 ,发现在启动类中有一个这个的注解 阅读全文

posted @ 2018-12-04 21:06 哎哟,不错哦 阅读(27586) 评论(0) 推荐(0) 编辑

boot项目swagger接口调试工具默认访问路径
摘要:今天第一次接触boot项目,项目里集成了swagger接口调试工具,以前写项目的时候在swagger 文件夹里可以找到访问路径,换成boot项目以后找不到swagger文件夹了,百度了一下,boot项目默认访问swagger路径是 localhost:prot/swagger-ui.html 做下笔 阅读全文

posted @ 2018-12-04 20:34 哎哟,不错哦 阅读(1221) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示