
debug
rofanor
这个作者很懒,什么都没留下…
展开
-
使用BeanUtils.copyProperties的注意事项,一点小坑。
结果输出后,链接没了。原因:saveForm中questionImage字段的值没有设置,在copyProperties时,把reportCase设置的值给覆盖了建议:copyProperties尽量早点调用原创 2021-01-22 16:08:44 · 501 阅读 · 0 评论 -
阿里云短信服务报错:SignatureDoesNotMatch : Specified signature is not matched with our calculation.
报错内容:com.aliyuncs.exceptions.ClientException: SignatureDoesNotMatch : Specified signature is not matched with our calculation. server string to sign is:POST&%2F&AccessKeyId%3********************%26Action%3DSendSms%26Format%3DJSON%26PhoneNumbers%3D原创 2020-11-27 11:45:26 · 12520 阅读 · 1 评论 -
Property or method “handleClose“ is not defined on the instance but referenced during render.
有import {modelConfirmClose} from “@/mixins”;依然报错!Property or method “handleClose” is not defined on the instance but referenced during render.原因:mixins是个数组!!!解决办法:原创 2020-10-29 09:35:23 · 3955 阅读 · 1 评论 -
SpringBoot+RabbitMQ启动出现报错java.net.ConnectException和 java.net.SocketException: Socket Closed
乐优商城:SpringBoot+RabbitMQ启动出现报错org.springframework.amqp.AmqpConnectException: java.net.ConnectException和 java.net.SocketException: Socket Closed出错环境配置解决:检查是否有对应的leyou和/leyou我是虚拟机还原快照,这部分进度被忽略了。...原创 2020-08-15 19:37:05 · 628 阅读 · 0 评论 -
乐优leyou商城【1.6.5渲染sku列表】只显示机身颜色
问题:乐优leyou商城【1.6.5渲染sku列表】只显示机身颜色原因:参数为false只能查到不可搜索的规格参数【即searching为 0 】因而【内存】【机身内存】查不到解决办法:queryParams(null, spu.getCid3(), null, null)方法的searching改为 ‘null’...原创 2020-08-10 10:49:04 · 216 阅读 · 0 评论 -
cannot be cast to org.elasticsearch.search.aggregations.bucket.terms.StringTerms
cannot be cast to org.elasticsearch.search.aggregations.bucket.terms.StringTerms乐优leyou项目第13天参考:https://blog.youkuaiyun.com/u010553867/article/details/104452764解决方案1.检查数据2.若为空,删除(DELETE goods)并重新导入数据导入数据的测试用例/** * 导入数据 */ @Test public原创 2020-08-07 21:13:43 · 2280 阅读 · 1 评论 -
使用RestClient模拟分析文件上传出错
使用RestClient模拟分析文件上传出错项目:leyou商城上传图片出错情况:使用RestClient模拟分析文件上传出错:Response does not contain any data.原因:上传文件类型与微服务中的文件类型白名单不符。解决:1、在白名单中添加响应的content-type类型2、换个文件...原创 2020-06-02 17:45:57 · 422 阅读 · 0 评论 -
黑马leyou商城http://api.leyou.com/api/:8082/item/category/list?pid=0一直报错
xhr.js?ec6c:178 GET http://api.leyou.com/api/:8082/item/category/list?pid=0 net::ERR_CONNECTION_REFUSED错误复现前提:nginx监控端口改成了不是80(第一次启动启动时,端口被占用,自己改了)错误情况解决办法:方法1、把nginx端口改回80方法2、在前端添加自己改的nginx端口原因:http://api.leyou.com/api/item/category/list?pid=0 发原创 2020-05-30 16:10:28 · 1682 阅读 · 0 评论 -
Vue报错:vue.js:634
Vue报错vue.js:634 [Vue warn]: Property or method “incr” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.<div id原创 2020-05-25 09:31:38 · 2527 阅读 · 0 评论 -
java.lang.NoSuchMethodException
说明:ssm框架,访问时,Controller的方法报错NoSuchMethodExceptionjava.lang.NoSuchMethodException: com.itheima.ssm.controller.PermissionController.findAll() at java.lang.Class.getMethod(Class.java:1786) at com.itheima.ssm.controller.LogAop.doBefore(LogAop.java:44) at s原创 2020-05-12 17:49:46 · 324 阅读 · 0 评论 -
org.springframework.security.access.AccessDeniedException: Access is denied
org.springframework.security.access.AccessDeniedException: Access is denied黑马权限管理系统项目pring security部分org.springframework.security.access.AccessDeniedException: Access is denied at org.springframework.security.access.vote.AffirmativeBased.decide(Affirmat原创 2020-05-09 17:12:41 · 1092 阅读 · 0 评论 -
Idea的ssmMaven多module项目maven都是红线
问题描述在学习使用maven构建多模块时,右侧maven一栏全部显示红线问题分析与解决配置setting文件时,导入nexus私服配置的位置错误。解决:把setting文件拷贝倒idea中,查看dtd约束重新配置。...原创 2020-04-28 13:46:28 · 715 阅读 · 0 评论