推荐
专栏
教程
课程
飞鹅
本次共找到1769条
spring
相关的信息
Stella981
•
3年前
Spring MVC 整合 Swagger
Swagger简要说明 将Swagger和SwaggerUI集成到系统中,可以实现接口可视化界面操作。版本号SwaggerUI2.2.10高于该版本,可能会出现“Nooperationsdefinedinspec”错误下载地址:https://github.c
Stella981
•
3年前
Spring Cloud Config Server
SpringCloudConfigServer<parent<groupIdorg.springframework.cloud</groupId<artifactIdspringcloudstarterparent</artifactId<versionAngel.SR4</version</parent<depe
Stella981
•
3年前
Spring Boot Tomcat配置
!(http://uploadimages.jianshu.io/upload_images/5954965cdda4d2ac0ce4c85.png?imageMogr2/autoorient/strip%7CimageView2/2/w/1240)参数配置容器server.xx开头的是所有servlet容器通用的配置,ser
Stella981
•
3年前
Spring boot整合Hikari
Hikari简介Hikari是一款非常强大,高效,并且号称“史上最快连接池”。并且在springboot2.0之后,采用的默认数据库连接池就是Hikari。不需要引入依赖,已经在SpringBoot中包含了。 GitHub地址(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2
Stella981
•
3年前
Spring Boot日志集成
!(https://oscimg.oschina.net/oscnet/1bde8e8d00e848be8b84e9d1d44c9e5c.jpg)SpringBoot日志框架SpringBoot支持JavaUtilLogging,Log4j2,Lockback作为日志框架,如果你使用star
Stella981
•
3年前
Spring Boot 异常处理
默认异常处理机制SpringBoot根据发送请求头中的accept是否包含text/html来分别返回不同的响应信息。当从浏览器地址栏中访问应用接口时,请求头中的accept便会包含text/html信息,产生异常时,SpringBoot通过org.springframework.web.servlet.ModelAndView对象
Stella981
•
3年前
Spring Cloud原理详解
概述毫无疑问,SpringCloud是目前微服务架构领域的翘楚,无数的书籍博客都在讲解这个技术。不过大多数讲解还停留在对SpringCloud功能使用的层面,其底层的很多原理,很多人可能并不知晓。因此本文将通过大量的手绘图,给大家谈谈SpringCloud微服务架构的底层原理。实际上,SpringCloud是一个全家桶式的技术栈
Stella981
•
3年前
Spring Boot RabbitMQ 异常
Stella981
•
3年前
Spring @ModelAttribute注解用法
之前项目中并自己并没有怎么使用到过@ModelAttribute这个注解,接手一个老项目的时候发现项目中大量使用@ModelAttribute这个注解,在这里就整理下这个注解常用的方式,也为自己做个记录,以免久了不用又忘记了@ModelAttribute使用大致有有两种,一种是是直接标记在方法上,一种是标记在方法的参数中,两种标记方法产生的效果也各不相
Stella981
•
3年前
Spring Security 常见错误
登陆时提示用户已锁定。Useraccountislocked由于自定义用户对象实现了UserDetails接口,需要将接口默认方法返回值改为true即可。publicclassAuthUserDetailsimplementsUserDetails{}登陆时提示Ba
1
•••
53
54
55
•••
177