- 博客(37)
- 资源 (2)
- 收藏
- 关注
原创 记录服务器运行命令
nacos;sh startup.sh -m standaloneredis:./redis-server ../redis.confelaticsearch : su esUser./elasticsearch -d
2023-04-12 17:35:47
172
原创 Job for rabbitmq-server.service failed because the control process exited with error code.
Job for rabbitmq-server.service failed because the control process exited with error code.
2023-03-06 18:04:42
272
原创 cannot import name ‘_get_object_size‘
cannot import name '_get_object_size'
2022-11-17 16:47:41
604
原创 cannot load from int arry because “<local3>“ is null
cannot load from int arry because "" is null
2022-08-24 10:27:59
2207
原创 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.yangzhengxi.men
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.yangzhengxi.men
2022-06-28 09:57:18
87
原创 Initialization failed for ‘https://start.spring.io‘Please check URL, network and proxy settings.E
Initialization failed for 'https://start.spring.io'Please check URL, network and proxy settings.E
2022-06-15 22:41:36
133
原创 html怎么添加背景图片
<!doctype html><html><head> <meta charset="utf-8"> <title>背景图片应用1</title> <style> .backgroud{ background-image:url('./1.jpg'); background-repeat:no-repeat; } </style></h...
2022-05-18 22:53:13
1302
转载 前缀树是什么 讲解
前缀树基础知识Trie树。又称之为单词查找树或者键树,是一种树形结构。应用于统计和排序大量的字符串。常被搜索引擎系统用于文本词频统计。它的优点:能够最大限度的减少无谓的字符串比较,查询效率比哈希表高。核心思想是以空间换时间。利用记录字符串公共前缀来降低查询时间的开销。3个基本性质根节点不包含字符,除根节点外每一个节点都只包含一个字符。 从根节点到某一节点,路径上经过的字符连接起来,为该节点所对应的字符串 每个节点的所有子节点所包含的字符都不同。 每个节点对应一个前缀,叶节点对应最长
2022-05-18 17:46:08
211
原创 怎么给网页加动态背景
<video src="xxx.mp4" class="bjimg" autoplay loop muted></video>xxx就是你的视频也可以用css样式更改你的视频大小
2022-04-15 15:11:57
1587
原创 redis6.0 windows 安装包
链接:https://pan.baidu.com/s/1SrF0VR7gyOXD5osXJffFkA提取码:8231复制这段内容后打开百度网盘手机App,操作更方便哦
2022-04-13 16:26:16
1720
1
原创 Gateway No qualifying bean of type ‘org.springframework.core.con
gateway不能引入web依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>删除这个依赖就行了...
2022-04-13 10:50:41
143
原创 Nacos: java.lang.reflect.InvocationTargetException
导入相关的依赖就行<dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId></dependency><!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-c
2022-04-11 16:27:37
920
原创 The server time zone value ‘�й���ʱ��‘ is unrecognized or represents more than one time zone. Y
在jdbc后面加上serverTimezone=UTC?useUnicode=yes&characterEncoding=utf8&serverTimezone=UTC
2022-04-09 16:43:53
64
原创 java: 错误 不支持发行版本5
jdk版本的问题 修正即可 在file里找到 project settings找到modules把language已修改即可
2022-04-09 16:31:27
285
原创 Blocked mirror for repositories maven 报错
版本问题 maven 3.8.1 以上的版本不支持 http,需要降低maven的版本
2022-04-07 16:37:59
563
原创 Element ‘project‘ cannot have character [children], because the type‘s content type is element-only.
多打了一个>注意自己的代码是不是多加了一个
2022-04-06 17:10:15
247
原创 聚簇索引是什么
聚簇索引就是按照每张表的主键构造一颗B+树,同时叶子节点中存放的就是整张表的行记录数据,也将聚集索引的叶子节点称为数据页。这个特性决定了索引组织表中数据也是索引的一部分,每张表只能拥有一个聚簇索引。Innodb通过主键聚集数据,如果没有定义主键,innodb会选择非空的唯一索引代替。如果没有这样的索引,innodb会隐式的定义一个主键来作为聚簇索引。聚簇索引的优缺点优点:1.数据访问更快,因为聚簇索引将索引和数据保存在同一个B+树中,因此从聚簇索引中获取数据比非聚簇索引更快
2022-03-22 22:18:08
11488
原创 rabbitmq四万字大全
Rabbitmq2022年3月14日10:37什么是 MQMQ (message queue),从字面意思上看,本质是个队列,FIFO 先入先出,只不过队列中存放的内容是 message 而已,还是一种跨进程的通信机制,用于上下游传递消息。在互联网架构中,MQ 是一种非常常见的上下游 “逻辑解耦 + 物理解耦” 的消息通信服务。使用了 MQ 之后,消息发送上游只需要依赖 MQ,不 用依赖其他服务。流量消峰举个例子,如果订单系统最多能处理一万次订单,这个处理能力应付
2022-03-22 22:16:06
2010
原创 基数排序思考
public class jishupaixu { public static void main(String[] args) { int[] arr={53,3,542,748,14,214}; radix(arr); } public static void radix(int[] arr){ //得到数组中最大的数的位数 int max=arr[0]; for (int i=1;i<arr.
2022-03-11 23:12:21
50
原创 选择排序思考
public class xuanzepaixu { public static void main(String[] args) { int[] arr={101,34,119,1}; selectSort(arr); System.out.println("排序后"+ Arrays.toString(arr)); } //选择排序 //时间复杂度是n的平方 public static void selectSort.
2022-03-11 23:11:46
178
原创 八皇后问题(回溯法)
publicclassbahuanghou{//定义一个max表示共有多少个皇后intmax=8;staticintcount=0;//这样表示第一个皇后在第一行1的位置第二个皇后在第二行五的位置//定义数组array,保存皇后放值位置的结果,比如arr={0,4,7,5,2,6,1,3}int[]array=newint[max];publicstaticvoidmain(String[]args){bahuanghoubahuanghou=newbahuanghou();
2022-03-11 23:03:39
88
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人