你的刀快还是我的剑快
码龄8年
关注
提问 私信
  • 博客:61,404
    61,404
    总访问量
  • 14
    原创
  • 2,177,116
    排名
  • 5
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:北京市
  • 加入CSDN时间: 2017-04-06
博客简介:

weixin_38205301的博客

查看详细资料
个人成就
  • 获得45次点赞
  • 内容获得20次评论
  • 获得82次收藏
  • 代码片获得153次分享
创作历程
  • 1篇
    2022年
  • 4篇
    2021年
  • 5篇
    2020年
  • 4篇
    2019年
成就勋章
TA的专栏
  • nacos集群
    1篇
  • 大数据
    3篇
创作活动更多

HarmonyOS开发者社区有奖征文来啦!

用文字记录下您与HarmonyOS的故事。参与活动,还有机会赢奖,快来加入我们吧!

0人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

使用 springdata MongoRepository,项目启动报错

OnlineFeedbackRepo继承MongoRepository/** * 在线反馈实体仓库 */public interface OnlineFeedbackRepo extends MongoRepository<OnlineFeedback, String> {}service注入OnlineFeedbackRepo@Slf4j@Servicepublic class OnlineFeedbackServiceImpl implements OnlineFeedb
原创
发布博客 2022.01.18 ·
1159 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

本地虚拟机搭建nacos集群

本地虚拟机搭建nacos集群准备工作准备好三台服务器:192.168.91.129192.168.91.130192.168.91.131nacos所需环境:jdk1.8、mysql8.0安装jdk1.8三台机器安装jdk1.81、安装之前先卸载linux下自带的openjdk,可以用 java -version命令查看`openj`dk version "1.8.0_262"` `OpenJDK Runtime Environment (build 1.8.0_262-b
原创
发布博客 2021.10.17 ·
810 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

使用Mybatis generator生成mybatis 动态SQL代码

使用Mybatis generator生成mybatis 动态SQL代码加入相关依赖<dependency> <groupId>org.mybatis.dynamic-sql</groupId> <artifactId>mybatis-dynamic-sql</artifactId> <version>1.1.4</version></dependency><!-- MyB
原创
发布博客 2021.09.12 ·
1677 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

面试:mysql 中where 字段 is null 会使用到索引吗?

面试:xxx是索引字段,那么mysql 中where xxx is null 会使用到索引吗?答案:如果索引字段设置的是可以为空的情况下,是可以使用到索引的。验证:CREATE TABLE `department` (`id` int(10) NOT NULL COMMENT 'id' ,`depname` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci ***NOT NULL*** COMMENT '部门名称' ,`depp
原创
发布博客 2021.08.23 ·
1825 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

idea中springboot项目下的 META-INF下配置文件未被读取

场景:我需要将A项目下的META-INF.config 下的local.properties 文件拷贝到B项目。第一次拷贝:鼠标右键复制、粘贴,粘贴到B项目后,发现拷贝出的文件是config以及config文件下的local.properties。没有把META-INF文件夹拷贝过来。第一次解决:鼠标右键选中 config ——> Refactor——>Rename改名字 在config前边加上META-INF.(之前改包名也是这样该)这样改完之后,重启项目,local.proper
原创
发布博客 2021.06.10 ·
4975 阅读 ·
2 点赞 ·
1 评论 ·
1 收藏

对Spring Data JPA中的page对象下的content属性里的实体类对象转换为dto对象

对Spring Data JPA中的page对象下的content属性里的实体类对象转换为dto对象。刚开始试遍历content,进行转换,添加到新的list中,再set进去page。后来发现page没有提供setContent方法。后来发现page有个map方法,看了下源码介绍,试了下可以。之前写法: Specification<ProcessFormView> pageSpecification = builder.generateSpecification();
原创
发布博客 2020.09.03 ·
5016 阅读 ·
2 点赞 ·
7 评论 ·
13 收藏

rabbitMq中使用topic进行消息传递时,设置routingkey失效问题

消息提供者发送消息时会携带routingKey。消息消费者接收消息时会接收事前设置好的routingkey进行接收。发送消息: String routingKey="test"+".test22"+".test3"; rabbitTemplate.convertAndSend(TopicCallbackConfig.EXCHANGE,routingKey, message, correlationData);接收消息设置绑定的routingkey:@Bean
原创
发布博客 2020.07.28 ·
2896 阅读 ·
3 点赞 ·
1 评论 ·
0 收藏

springBoot与freemarker整合后,项目打成Jar包后Freemarker找不到模板的问题

问题介绍springBoot与freemarker整合后,本地测试没有问题,提交到服务器上时。报错获取不到resource/templates的模板:020-07-01 10:52:38 freemarker.template.TemplateNotFoundException: Template not found for name “basicProcessTemplate.ftl”.2020-07-01 10:52:38 The name was interpreted by this T.
原创
发布博客 2020.07.01 ·
7797 阅读 ·
7 点赞 ·
5 评论 ·
12 收藏

springboot项目配置idea的run/debug configurations

springboot项目配置idea的run/debug configurations远程代码克隆到本地后, idea配置 add configuration 2 点击进去后,选择 + 号,然后再选择 springboot , 选择springboot的启动类,这时你发现是没有启动类让选的(我之前红框的springboot启动类是没有的)3 这时因为idea没有识别到该项目是sp...
原创
发布博客 2020.04.21 ·
27340 阅读 ·
24 点赞 ·
4 评论 ·
44 收藏

service层报错找不到方法Invalid bound statement (not found)

问题 :service层报错找不到方法Invalid bound statement (not found)尝试解决方法:mapper.xml的namespace要写所映射接口的全称类名。mapper.xml中的每个statement的id要和接口方法的方法名相同mapper.xml中定义的每个sql的parameterType要和接口方法的形参类型相同mapper.xml中定义的每个...
原创
发布博客 2020.04.02 ·
1726 阅读 ·
1 点赞 ·
1 评论 ·
1 收藏

eureka服务端启动时候报错Cannot execute request on any known server

eureka服务端启动时候报错: Cannot execute request on any known server ## 解决 网上搜出来很多,都是在说,修改配置文件 禁止服务端自己注册自己eureka.client.registerWithEureka=falseeureka.client.fetchRegistry=false但是我的配置文件设置的都是false,...
原创
发布博客 2019.11.23 ·
462 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

kafka 本地编写 生产者发送消息失败

本地编写生产者运行后,报错: log4j:WARN No appenders could be found for logger (kafka.utils.VerifiableProperties).log4j:WARN Please initialize the log4j system properly.Exception in thread "main" kafka.common.Fa...
原创
发布博客 2019.04.22 ·
1991 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

storm作业提交到storm集群时,应该注意的地方

本地编写storm作业代码时用的storm-core依赖要和集群上依赖一致,否则会报版本错误。<?xml version="1.0" encoding="UTF-8"?>4.0.0<groupId>com.jun.storm</groupId><artifactId>stormCount</artifactId><ver...
原创
发布博客 2019.04.19 ·
268 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

storm启动报错,storm-ui界面显示不正常

第一个问题: 启动失败,访问:8080,storm-ui界面,显示“无法访问此网站”解决方法 查看报错信息:The storm client can only be run from within a release. You appear to be trying to run the client from a checkout of Storm's source code.You c...
原创
发布博客 2019.04.17 ·
2679 阅读 ·
3 点赞 ·
1 评论 ·
6 收藏