随笔 - 76  文章 - 0  评论 - 2  阅读 - 58193
03 2022 档案
redis安装
摘要:1、下载地址 http://redis.io/download tar -zxvf /usr/local/redis-6.0.8.tar.gz -C /usr/local/redis/redis-6.0.8cd /usr/local/redis/redis-6.0.8make 执行完 make 命令 阅读全文
posted @ 2022-03-20 16:18 ttke 阅读(26) 评论(0) 推荐(0) 编辑
idea 操作git
摘要:1、设置git路径 file-setting--versionControl--git 再path to git exxcutable中设置git/bin/git.exe 2、git工具栏显示操作 file-setting--versionControl 点击version control再右侧修改 阅读全文
posted @ 2022-03-10 15:51 ttke 阅读(52) 评论(0) 推荐(0) 编辑
validate 使用
摘要:使用步骤 再controller层中方法对象添加@valid @RequestBody 再验证实体类中添加@Data 其中属性不能大写开头 Springboot配置捕捉validate校验参数异常统一处理并自定义validate校验返回格式 1、添加一个异常处理类@ControllerAdvicep 阅读全文
posted @ 2022-03-04 15:03 ttke 阅读(379) 评论(0) 推荐(0) 编辑
修改项目名称
摘要:1、springboot项目 修改pom.xml中两处地方。如下: <groupId>com.ytkj.service</groupId> <artifactId>EmergencyManagement</artifactId><!-- 修改此处内容为新的项目名称 --> <version>1.0. 阅读全文
posted @ 2022-03-03 10:22 ttke 阅读(104) 评论(0) 推荐(0) 编辑
dubbo问题
摘要:1、spring boot注解问题 EnableDubbo 在主方法上添加此注解 Reference获取暴露服务 此包com.alibaba.dubbo.config.annotation.Reference下边的 Service dubbo提供的暴露服务,此包com.alibaba.dubbo.c 阅读全文
posted @ 2022-03-01 16:35 ttke 阅读(254) 评论(0) 推荐(0) 编辑

< 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

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