About the record of java.lang.StackOverflowError in Jenkins building Git project
Today, Jenkins was configured to build a Git project. The following problems were encountered, which made it impossible to build
Parsing POMs
Injecting SonarQube environment variables using the configuration: sonarqube-5.5
FATAL: null
java.lang.StackOverflowError
at sun.reflect.GeneratedMethodAccessor7533.invoke(Unknown Source)
at sun. ...
Posted by dennyx on Sat, 16 Nov 2019 12:50:06 -0800
pipeline Reality under Jenkins Cluster
About Jenkins Cluster
stay Quick Build Jenkins Cluster In this article, we quickly set up a Jenkins cluster with docker. Today we are creating pipeline tasks in this cluster environment to experience parallel tasks under the Jenkins cluster.
environmental information
There are three computers in the cluster environment as follows:
| Host Name | ...
Posted by davo666 on Sat, 16 Nov 2019 12:18:59 -0800
Java setting Word page background color
In Word, you can set the background color according to different document layout design requirements. Common settings include setting a single color, gradient, or loading a specified picture to set it as a background. Next, use Java to set the above three kinds of Word page background colors.
Using tool: Spire.Doc for Java v2.2.0
Jar file impor ...
Posted by evanluke on Fri, 15 Nov 2019 12:03:34 -0800
Ribbon of spring cloud: load balancing
Spring Cloud integrates Ribbon and Eureka to realize load balancing of clients.
An example is implemented below, as shown in the figure below.
I. server side
1. Create project
Development tool: IntelliJ idea February 3, 2019Create a new spring boot project named "cloud server" in IDEA, select 2.1.10 for spring boot version, and ...
Posted by Sesquipedalian on Fri, 15 Nov 2019 01:03:19 -0800
Building non-web projects using springboot
1. Basic description of implementation function
Today we're going to use springboot for a non-web project. We're more focused on implementation, so the logic is simple.
Implement the function: pass in two numbers through the main() method to sum and print.
2. Specific implementation
1. Initialize a project first
We can create a projec ...
Posted by hoolahoops on Thu, 14 Nov 2019 18:02:02 -0800
SpringBoot Source Parsing--- Introduction to the core principles of SpringBoot
Overview of Spring Boot
Build Anything with Spring Boot: Spring Boot is the starting point for building all Spring-based applications. Spring Boot is designed to get you up and running as quickly as possible, with minimal upfront configuration of Spring.
Here's a quote from the website, which probably means that Spring Boot is the starting po ...
Posted by mightymaster on Wed, 13 Nov 2019 19:46:45 -0800
Spring Boot configuration - Consul configuration center
▶ Spring Boot dependency and configuration
Maven dependence
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RE ...
Posted by bbmak on Wed, 13 Nov 2019 10:31:26 -0800
Docker from entry to drop: building SpringBoot microservices based on docker
This is the second chapter from the introduction to Docker: building SpringBoot microservices based on Docker. You'd better read it before Docker from entry to drop After that, read this article.
In the previous article, I introduced how to deploy some common basic environments based on the docker container, such as MySQL and Redis. In this art ...
Posted by darkside_3k on Tue, 12 Nov 2019 21:40:36 -0800
Proficient in Spring Boot -- Chapter 22: selection of packaging methods
1. Background
After the new Spring Boot is built, it will bring its own packaging method. Now it is usually packaged into jar package. Of course, you can also pack it into war package, I won't introduce it!
This article mainly wants to talk about the self-contained packaging method and assembly packaging method. What are the differences, advant ...
Posted by bluestar on Mon, 11 Nov 2019 22:52:41 -0800
Three cases of printing PDF document in Java
The following content summarizes three situations when printing PDF documents through Java programs. Namely:
Silent printing
Display Print dialog print
Custom paper size when printing PDF
Using tool: Spire.PDF for Java
Jar import:
Method 1: Pass Download official website jar bag.
Method 2: import through maven library. Reference resour ...
Posted by splat78423 on Mon, 11 Nov 2019 10:54:57 -0800