随笔分类 - Java
摘要:转载于:https://baijiahao.baidu.com/s?id=1671970352099318241&wfr=spider&for=pc
阅读全文
摘要:转载于 : https://blog.csdn.net/qq_42577548/article/details/105924345 https://www.cnblogs.com/niceyoo/p/10964277.html 1. https://blog.csdn.net/weixin_3634
阅读全文
摘要:1.@JsonIgnore换成阿里那个json@JSONField(serialize = false) 2.配置全局null字段不显示以及日期格式 @Bean public HttpMessageConverters fastJsonHttpMessageConverters() { FastJs
阅读全文
摘要:转载于:https://blog.csdn.net/baidu_37107022/article/details/89082576?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachin
阅读全文
摘要:转载于:https://blog.csdn.net/xiaolegeaizy/article/details/114312969
阅读全文
摘要:1.https://web03.cn/blog/168遇到的问题网上有两种解决方式,我用的第一种方式解决,并配置了SSL安全证书 2.安全证书配置使用腾讯云免费的ssl,每个身份证可以免费领取一年的SSL安全证书 腾讯云SSL证书领取链接:https://cloud.tencent.com/act/
阅读全文
摘要:1.出现这个问题的原因是因为controller层跨域注解多了一个 allowCredentials = "true" 1.解决把allowCredentials = "true"给注释掉就行了
阅读全文
摘要:1.依赖冲突原因是因为spring-session-data-redis版本太高 解决 1. 2,.降低版本为2.1.12.RELEASE就可以了
阅读全文
摘要:1.今天遇到个问题,有个项目要分为不同企业显示不同数据,如果直接在原sql修改工作量太大,看了网上的 依赖: <!--pagehelper 分页插件--><dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehel
阅读全文
摘要:1.我的原因是因为pom依赖版本太老的问题
阅读全文
摘要:开着idea,死机了,关机重启。重启之后,重新打开idea报错java.lang.AssertionError:upexpected content storage modification。 goole得到: If you cannot even open your project in Inte
阅读全文
摘要:我们都知道,@Transactional要放在service层,并且只需要放到最外层的方法上就可以了。 controller层使用@Transactional注解是无效的。但是可以在controller层方法的catch语句中增加:TransactionAspectSupport.currentTr
阅读全文
摘要:1.postman测试的特殊字符通过请求头传递后端获取为null controller层 2.解决 通过json传递则直接成功
阅读全文

浙公网安备 33010602011771号