-
swagger 文件上传以及requestbody参数传递
记录swagger 文件上传,以及swagger requestbody方式API测试接受数据的配置方式。
Date: 2021-01-04 View: 1520
-
一篇文章梳理spring boot 加载 spring data jpa的全过程.
用过spring boot 与spring data jpa 的都知道,只需要简单的配置,就能实现数据库的CRUD, 但使用简单的前提是spring 为我们做了太多工作,而这些工作的一个核心就是自动装配,而自动装配也是约定优于配置方案的最佳实践
Date: 2020-11-27 View: 1520
-
Springboot 2.3 与swagger 3.0 集成
以前用过SWAGGER 2, 还是比较简单,最近将spring boot 升级到最新的2.3.3,同时也将 swagger 升级到3.0 版本,记录一下基本过程。
Date: 2020-08-24 View: 1520
-
简单写了一个基于spring boot mosquitto 的starter
基于spring boot和mosquitto实现了一个mosquitto的starter, 在以后的项目中需要用到mosquitto的地方,可以简单修改,然后集成到项目中去
Date: 2020-07-20 View: 1520
-
Spring Boot Hello World Example Thymeleaf
In this article, we will show you how to develop a Spring Boot web application, using Thymeleaf view, embedded Tomcat and package it as an executable JAR file.
Date: 2019-08-17 View: 1520
-
Spring Boot How to change Context Path
In Spring Boot, to change the context path, update server.contextPath properties. The following examples update the context path from / to /mkyong or http://localhost:8080/mkyong
Date: 2019-08-17 View: 1520
-
Spring Boot Hello World Example Thymeleaf
In this article, we will show you how to develop a Spring Boot web application, using Thymeleaf view, embedded Tomcat and package it as an executable JAR file.
Date: 2019-08-16 View: 1520
-
Spring Boot How to change Context Path
In Spring Boot, to change the context path, update server.contextPath properties. The following examples update the context path from / to /mkyong or http://localhost:8080/mkyong
Date: 2019-08-16 View: 1520
-
Spring Boot How to change Context Path
In Spring Boot, to change the context path, update server.contextPath properties. The following examples update the context path from / to /mkyong or http://localhost:8080/mkyong
Date: 2019-08-11 View: 1520
-
Spring Boot How to change Tomcat port
In Spring Boot, to change the embedded Tomcat initialized port (8080), update server.port properties.
Date: 2019-08-11 View: 1520
-
Spring Boot Jetty as embedded server
By default, Spring Boot use Tomcat as the default embedded server, to change it to Jetty, just exclude Tomcat and include Jetty like this :
Date: 2019-08-11 View: 1520
-
Spring Boot Which main class to start
If Spring Boot project contains multiple main classes, Spring Boot will fail to start or packag for deployment.
Date: 2019-08-11 View: 1520
-
Intellij IDEA – Spring boot reload static file is not working
In Eclipse, just include the Spring Boot Dev Tools dependency, then the hot swapping and static file reload will be enabled magically. For Intellij IDE, we need extra steps to enable it.
Date: 2019-08-11 View: 1520
-
Spring Boot SLF4j Logback example
In this tutorial, we will show you how to use Logback in Spring Boot framework.
Date: 2019-08-11 View: 1520
-
Spring Boot @ConfigurationProperties example
Spring Boot @ConfigurationProperties is letting developer maps the entire .properties and yml file into an object easily.
Date: 2019-08-11 View: 1520