一、层级 1、Child Selector (" parent child")子元素选择器 【描述】选择所有指定"parent" 元素中指定的" child"的直接子元素。 【语法】 jQuery( "parent child" ) parent:任何有效的选择器。 child:用来筛选子元素的选择 ...
分类:
Web程序 时间:
2020-04-17 23:56:21
阅读次数:
143
一、Eureka Server高可用搭建(服务注册中心) 1.1MAVEN相关依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <ve ...
分类:
编程语言 时间:
2020-04-17 00:51:50
阅读次数:
240
HDU 2150 Pipe 经过激烈的争夺,Lele终于把那块地从Yueyue的手里抢了回来。接下来,Lele要开始建造他的灌溉系统。 通过咨询Lele的好友——化学系的TT,Lele决定在田里挖出N条沟渠,每条沟渠输送一种肥料。 每条沟渠可以看作是一条折线,也就是一系列线段首尾连接而成(除了第一条 ...
分类:
其他好文 时间:
2020-04-16 11:42:22
阅读次数:
65
先通过一个例子让大家先体会一下类初始化和实例化对象时的一些顺序问题。 上面两个类的成员变量和方法几乎都是一样的,包括成员变量、静态变量(类变量)、静态代码块、构造方法、非静态代码块、成员方法、静态方法等,其中,Son 类继承了 Parent 类,main 启动方法写在子类 Son 中。 注意的是。P ...
分类:
其他好文 时间:
2020-04-15 21:49:40
阅读次数:
119
1 //双亲储存结构 2 typedef struct{ 3 ElemType data; 4 int parent; 5 }PTree[MaxSize]; 6 7 //孩子链储存结构 8 const int MaxSons = 10; 9 typedef struct node{ 10 ElemT ...
分类:
编程语言 时间:
2020-04-15 21:28:03
阅读次数:
104
问题场景 maven下载配置完成后,发现如上图代码包下载失败,本地maven库中出现unknown文件夹,也就是说,maven无法定位下载到上面的代码包。 解决过程 仔细观察发现,所有下载失败的代码包都是没有指定版本号的,那么为什么可以不指定版本号而进行定位下载呢?原因是有了如下配置 <parent ...
分类:
其他好文 时间:
2020-04-14 20:56:59
阅读次数:
583
我出现此错误的原因是web.xml中没有指定spring的启动配置文件applicationContext.xml的加载位置。applicationContext.xml原来再webRoot/webInfo下,后来我把applicationContext.xml放在了src根目录下了。 因此需要再w ...
分类:
其他好文 时间:
2020-04-14 20:46:54
阅读次数:
182
Problem : Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child ...
分类:
其他好文 时间:
2020-04-14 18:27:41
阅读次数:
69
Actuator是Spring Boot提供的对应用系统的自省和监控的集成功能,可以查看应用配置的详细信息,例如自动化配置信息、创建的Spring beans以及一些环境属性等。 1、创建Spring Boot工程,pom.xml的配置如下 <parent> <groupId>org.springf ...
分类:
编程语言 时间:
2020-04-13 16:48:41
阅读次数:
72
使用的是springboot2.1.4版本 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.4.RELEASE< ...
分类:
编程语言 时间:
2020-04-12 19:02:15
阅读次数:
74