自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

转载 接口性能优化技巧,干掉慢代码!

接口性能优化技巧,干掉慢代码!

2022-10-19 09:47:17 119

原创 使用SpringCloudConfig连接码云报错Cannot clone or checkout repository:xxx

使用SpringCloudConfig集中管理配置,将配置文件上传到码云(gitee.com),然后开始配置配置中心微服务。新建微服务,导入maven依赖:<dependencies> <dependency> <groupId>org.springframework.cloud</groupId> ...

2019-04-10 12:28:16 2560

原创 Spring-boot的application.properties(摘自 Spring-boot 1.4.4 官方文档)

# ===================================================================# COMMON SPRING BOOT PROPERTIES## This sample file is provided as a guideline. Do NOT copy it in its# entirety to your own appl...

2019-03-04 16:54:18 445

原创 Spring-boot 的启动器 (摘自 Spring-boot 1.4.4 官方文档)

1. Spring Boot application starters spring-boot-starter-thymeleaf 使用 Thymeleaf 视图构建 MVC Web 应用程序 spring-boot-starter-ws 使用 Spring Web 服务。1.4 不推荐使用,推荐使用 spring-boot-starter-web-services spri...

2019-03-04 16:45:08 680

原创 If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.

今天学习SpringBoot,使用SpringBoot整合SpringMVC和SpringDataJpa后,写了一个简单的小demo,使用启动类启动后,出现了如下问题:***************************APPLICATION FAILED TO START***************************Description:Failed to auto...

2019-03-04 13:08:53 6937 2

原创 socket实现简易tomcat server

提供socket服务并实现请求的分发。服务器监听客户端请求——解析请求头——根据请求映射关系分发处理——调用service方法——执行doGet或doPost方法——响应请求。1、服务器持续监听客户端请求。/** * @author jiang * @Description Server */public class Server { @SuppressWarnings(...

2019-02-28 16:21:15 476

原创 BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schem...

2019-02-25 11:00:51 1128

原创 不使用spring的自动装配,获取容器中管理的对象

package com.abc.utils;import org.springframework.beans.BeansException;import org.springframework.context.ApplicationContext;import org.springframework.context.ApplicationContextAware;import org....

2019-01-18 10:54:51 405

原创 Java面向对象-继承浅析

继承:    就是在已有类的基础上构建出新的类,新的类称为已有类的子类,子类会自动拥有父类所有的非私有的属性和行为,并且还能扩展自己特有的功能。继承的特点:    1、java中只支持单继承,不支持多继承    2、支持多层继承(形成继承体系)继承需注意的问题:    1、子类只能继承父类非私有的成员(成员变量和成员方法)    2、父类的构造方法子类不能继承,但是可以...

2018-04-25 15:40:48 94

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除