JEECG deployment: the problem of Alpine image

In this article, I want to remember the problems of using Alpine image in JEECG deployment. Dockerfile FROM nginx:1.18-alpine MAINTAINER liumiao liumiaocn@outlook.com RUN apk update \ && apk add openjdk8-jre-base \ && touch /etc/init.d/start.sh \ && chmod +x /e ...

Posted on Thu, 04 Jun 2020 10:22:59 -0700 by Onle

1018 hammer scissor cloth (20 points) PAT Java code to realize Niu Ke AC

1018 hammer scissors (20 points) Everyone should be able to play the game of "hammer, scissors and cloth": two people give gestures at the same time, and the winning and losing rules are as shown in the figure: Here is the record of the fight between the two. Please count the number of wins, ...

Posted on Thu, 04 Jun 2020 07:22:11 -0700 by jonno946

MyBatis: Reverse Engineering

catalog 1, What is reverse engineering? 2, Characteristics of MyBatis reverse engineering 1. Advantages of MyBatis reverse engineering 2. Disadvantages of MyBatis reverse engineering 3, MyBatis reverse engineering construction 1. Add dependency pom.xml 2. Create MBG profile generatorConfig.xml 3. ...

Posted on Thu, 04 Jun 2020 06:45:24 -0700 by millsy007

(imitating the headline APP project) 6. The clicked news list text is grayed out and pulled down to refresh and scroll to load the news data

Article catalog 1, Clicked news list text is grayed out design sketch Realization ideas Import ORM Lite database class dependency Using ORM Lite to create database and table Create database class MyDbHelper Create news entity class NewInfo in database Page transaction coding List click event Judg ...

Posted on Thu, 04 Jun 2020 05:33:21 -0700 by lalov1

No doubt!This is the clearest article to explain Java.I/O streaming

Table of Contents Simple combing Understand File streams are the basis of io streams, involving buffer streams, which are operations that use io streams in memory. Conversion streams, as the name implies, are conversions between bytes and character streams., to have byte stream and character stream first, object stream, the most important is ...

Posted on Wed, 03 Jun 2020 09:25:29 -0700 by d~l

[Centos] deploy the helpingscheduler from scratch

1. Environment configuration Install JAVA 1.8 / MySQL 5.7 / ZooKeeper 3.5.8 1.1 installing JAVA 1.8 Check whether there is an installation. If there is one, delete it first rpm -qa | grep java # java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64 rpm -e --nodeps java-1.7.0-openjdk-1.7.0.71-2.5.3.1.e ...

Posted on Tue, 02 Jun 2020 19:45:11 -0700 by dsjoes

Analysis of Spring Boot Autoconfiguration Principle for Springboot Series

Articles have been included in Github.com/niumoo/JavaNotes Welcome to Star and Instructions. Welcome to my attention Public Number , articles are updated weekly. Note: This Spring Boot series of articles is based on Spring Boot version v2.1.1.RELEASE for learning analysis, which may vary slightly from version to version. Preface About what ...

Posted on Mon, 01 Jun 2020 18:20:40 -0700 by atoboldon

Leetcode:NO101 Symmetric binary tree

subject Given a binary tree, check whether it is mirror symmetric. For example, a binary tree [1,2,2,3,4,4,3] is symmetric. 1 / \ 2 2 / \ / \ 3 4 4 3 But the following [1,2,2,null,3,null,3] is not mirror symmetric: 1 / \ 2 2 \ \ 3 3 Advanced: Can you use recursion and iteration to solve this prob ...

Posted on Mon, 01 Jun 2020 09:21:51 -0700 by n00byboy

[Java] manual simulation to realize an AQS

What is AQS? synchronized (based on the underlying C + +, the synchronization mechanism of language implementation) Aqs synchronizer (Java implementation)   [Unsafe] magic Bypass the virtual machine and directly operate the underlying memory   Without saying much, we manually simulate an AQS: 1> Lock object: package com.exa ...

Posted on Mon, 01 Jun 2020 07:45:35 -0700 by arie_parie

Thread pool continued: you must know the FutureTask of the implementation principle of thread pool submit()!

preface In the last article, I wrote the implementation principle and source code analysis of the thread pool in Java. It is said that it is a real big satisfaction. I want to let you have a thorough understanding of the thread pool through an article, but what are the shortcomings of the article? The previous article only mentioned the execut ...

Posted on Sun, 31 May 2020 20:23:03 -0700 by mattw