Application of Maven Profile

maven's profile app will appear more or less in mid-sized and large companies. If you're new to the maven profile, you probably don't care what it does, just like me. Even though I've seen it many times, I don't need to configure it myself, just be active. But once the problem occurs, you probably won't find any problems. Basic concepts Profile ...

Added by Bunyip on Fri, 08 Nov 2019 04:21:49 +0200

Eclipse build spring boot project file upload

Knowledge points: SpringBoot2.x file upload: HTML page file upload and back-end processing 1. Upload the springboot file to MultipartFile file, which is from spring MVC1) direct access to static page: localhost:8080/index.html Note: if you want to access the html page directly, you need to put the html under the folder loaded by springboot ...

Added by Zeon on Sat, 02 Nov 2019 19:16:42 +0200

Intelligent sales system

1. Project construction preparation 1. Build Maven web project 2. Import the jar package required by the project <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h ...

Added by johnrcornell on Sat, 02 Nov 2019 17:06:09 +0200

Spring cloud learning notes 2-service provider Eureka client

Service provider Eureka client 1. overview 2. steps 2.1 new construction 2.2 startup 2.3 configuration file application 1. overview In fact, it is a client. The service is registered in the eureka service center, so that the service can be provided to other clients. 2. steps 2.1 new constr ...

Added by chelnov63 on Wed, 30 Oct 2019 18:48:27 +0200

Dubbo cooperates with SpringBoot to implement multiple interfaces (groups)

SpringBoot cooperates with Dubbo, uses @ Service and @ Reference, and group to implement multiple interfaces. To upgrade the company's project, it is necessary to implement springBoot + Dubbo and support multiple implementations of one interface. I met several pits, and I'll record them here. 1. Install Zookeeper stay Official website Download ...

Added by realtek on Wed, 30 Oct 2019 11:22:49 +0200

Ribbon of Spring Cloud: load balancing

The previous one Service registration and discovery , friends who haven't read it first read the previous one, which is based on the previous one. Ribbon introduction Ribbon is a client side load balancer which gives you a lot of control over the behaviour of HTTP and TCP clients. Feign already uses Ribbon, so if you are using @FeignClient the ...

Added by sirfartalot on Tue, 29 Oct 2019 08:52:53 +0200

Spring Cloud Alibaba nacos configuration center

background In the last article, we talked about how to build a registry. This time, we talked about how to use nacos as a registry. Spring cloud Alibaba basis to create basic dependency First of all, we create a spring cloud Alibaba basis basic dependency project to work out the common version we want to use. spring boot version 2.1.7.RELEASE ...

Added by reaper7861 on Sun, 27 Oct 2019 18:42:05 +0200

How to develop Java 8 Spring Boot application in Docker?

In this article, I'll show you how to use Java 8 to develop and run simple Spring Web applications without having to install Java 8 on your local machine. Python developers use virtual environments to create and manage separate environments for different projects. Each environment uses different versions of Python to execute, store and parse Py ...

Added by Pellefant on Thu, 24 Oct 2019 12:10:40 +0300

The first SpringBoot plug-in - captures requests and supports Reissue

Getting started with SpringBoot plug-ins brief introduction Spring boot is used by the company, and swagger UI is used by the API framework, which is really good. However, a problem is found in the use process. When the current end is formally called, if there are more parameters, it is more difficult to simulate the request, or swagger UI can ...

Added by vladj on Thu, 24 Oct 2019 11:49:27 +0300

Details of spring boot dependencies, spring boot starter parent, io.spring.platform

The previous article introduced several methods of spring boot dependent version number management. Now let's analyze in detail how spring boot dependencies, spring boot starter parent and io.spring.platform control version number, and what are their functions and differences. I. spring boot dependencies, spring boot starter parent and io.spri ...

Added by Mijii on Thu, 24 Oct 2019 11:40:35 +0300