Spring Boot Implements Configuration File Encryption and Decryption Principle

Spring Boot profile encryption and decryption is as simple as that background Following "Return of Missing Persons, mybatis-plus 3.3.2 Release" [1], provides a very practical function, "Data Security Protection", which not only supports the configuration encryption of data sources, but also enables the encryption of sensitiv ...

Posted on Mon, 01 Jun 2020 21:04:17 -0400 by dspeer

A troubleshooting of Spring project packaging

A Spring project, which runs after jar package, is normal when there is a network, but once there is no network, an error will be reported. What's the matter? This article will record the troubleshooting process. Background A graphical interface with a local database is required to be able to run in a non network environment. The graphical in ...

Posted on Mon, 01 Jun 2020 00:56:38 -0400 by Ozzapoo

Java Spring Cloud Road to Actual Work - 1 Create Project

0. Preface The project is managed and built using Maven, so it needs to be preconfigured.Well, I haven't done much in this series. 1. Create a project Create one firstPom.xmlFile, add the following: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc ...

Posted on Sun, 31 May 2020 12:34:53 -0400 by widget

spring boot custom starter

spring boot uses starter to solve many configuration problems, but how does it solve these problems Here is a simple example to see how starter sets the default configuration 1, Build starter project The project naming specification is: custom name spring boot starter Let's take a look at my last directory structure   1. Modification pom.xml ...

Posted on Sun, 31 May 2020 12:31:13 -0400 by tibberous

Configure different access ports for multiple applications in tomcat

Configure different access ports for multiple applications in tomcat Open tomcat installation directory and check conf/server.xml <?xml version="1.0" encoding="UTF-8"?> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> <Listener c ...

Posted on Sun, 31 May 2020 10:02:39 -0400 by LoneTraveler

Analysis of file dependence of Qt in creating Application

When using QtCreator to create Application program, it will automatically create * * *. UI file in the folder "build - * * * - Desktop"_ Qt_ ***-Generate UI in debug_ ***. h, * * *. UI can be adjusted through QtDesigner, and a c + + class with the same name will be created in the folder of * * *. UI. This brings us a lot of doubts. Ho ...

Posted on Sun, 31 May 2020 00:41:38 -0400 by Kingy

react-native-easy-app details and uses fetch

react-native-easy-app Is a pure JS library that provides basic services for React Native App rapid development (supports IOS & Android), especially at the beginning of a project from 0 to 1, which can reduce the workload of developers by at least 30%. react-native-easy-app mainly does these things:1. Encapsulating the AsyncStorage allows d ...

Posted on Sat, 30 May 2020 12:57:18 -0400 by Deany

Android serial 14 - write fragments for different resolutions

1, Edit layout 1. Write two layouts respectively: one for large screen resolution such as tablet, and the other for small screen resolution such as mobile phone. Write the small one first. Address: layout/activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" ...

Posted on Fri, 29 May 2020 10:43:11 -0400 by Vasudhevan

Java adds page numbers to PDF documents

In daily work, in order to facilitate reading, retrieving and managing PDF documents, we often need to add page numbers. Then share a free Spire.PDF For Java is a quick way to add page numbers to PDF documents in Java programs.   First of all, put a rendering for your reference:     Basic steps: download Free Spire.PDF for Java Package and ...

Posted on Fri, 29 May 2020 10:35:20 -0400 by cLFlaVA

Click outside of EditText, the soft keyboard is hidden

In Android programming, we often need to click EditText, the soft keyboard pops up, with external area clicked, and the soft keyboard is hidden. Here are two ways I can provide: 1. We set the click event for the outermost ViewGroup of the layout, and then click to hide the soft keyboard. Isn't it very simple, but this way can only solve the s ...

Posted on Mon, 25 May 2020 11:13:02 -0400 by lawnmowerman