Some problems encountered by Spring Boot
Some problems encountered by Spring Boot
1. About html package format of templates:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version ...
Posted by marlonbtx on Sun, 03 Feb 2019 00:54:15 -0800
kubernetes Authoritative Guide Reading Notes (1) -- Building Basic Services, Pod and Visiting
Close the firewall
systemctl status firewalld
systemctl disable firewalld
systemctl stop firewalld
Systemctl is a system D tool, which is mainly responsible for controlling system D system and service manager.
Systemd is a collection of system management daemons, tools, and libraries to replace the initial process of System ...
Posted by Supernovas on Sat, 26 Jan 2019 12:21:14 -0800
Step by step teach you SSM integration swagger
First: What is swagger?
swagger is a very useful framework for writing API documents. Other self-owned Baidu
Second: ssm integration swagger?
1: Introduce dependencies in maven's pom file: (Note version, otherwise tomcat will not start properly)
<!-- Introduce swagger -->
<!--springfox The core of jar package -->
&l ...
Posted by abasel on Sat, 26 Jan 2019 00:57:14 -0800
tomcat starts error reporting java.util.zip.ZipException: invalid LOC header (bad signature)
Deploying the war package to tomcat due to project needs, the start-up time is wrong:
31-Oct-2018 09:11:18.555 information [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [D:\Program Files\Apache Software Foundation\Tomcat 9.0_Tomcat9.0 ...
Posted by northstjarna on Wed, 23 Jan 2019 00:06:13 -0800
springboot(2.1.0.RELEASE) series The first restful interface main method starts the jar package to start the mvn boot
springboot official document
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#_working_with_spring_boot
maven dependence
spring-boot-starter-parent
<?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="htt ...
Posted by matbennett on Tue, 22 Jan 2019 12:21:13 -0800
java.lang.NoSuchFieldException: resourceEntries struts2
1. About using struts2 to report java.lang.NoSuchFieldException: resourceEntries in the project.
When we use Tomcat version 7.0.64 and below, there will be no problem. When we use tomcat 7.0.65, we will report this question. Many of the answers we see online are about tomcat 8 and so on.
The actual problems began at tomcat 7.0.65. The root ...
Posted by blues on Tue, 22 Jan 2019 09:42:12 -0800
Chapter 4: Building jersey-based RESTful api with IntelliJ IDEA
Compiler: Intellij IDEA
System environment: MAC OS
Related technologies: Maven, tomcat 7, jdk8
1. Create projects
First, create a web Application project (we're going to use maven to introduce Jersey's related jar package, so we don't need to create a restful project directly, because the restful project will download Jersey related jar package ...
Posted by cairesdesigns on Sat, 12 Jan 2019 16:48:10 -0800
Start docker timeout problem "net/http: TLS handshake timeout"
Preface
Ao Tao is lucky to have the chance to try to learn K8S with a group recently. Xiaocai is a novice. He only knows that the logo of K8S is like a fishing net and a compass. Docker's logo is a whale carrying a container swimming in the sea. From Logo alone, there must be a great relationship between them. So I decided to ...
Posted by scoppc on Tue, 08 Jan 2019 13:09:11 -0800
Zabbix monitors nginx status, Zabbix monitors Mysql and Zabbix through percona, and OneAlert monitors Zabbix alarm.
1. Monitoring nginx status by zabbix
Nginx has built-in a status state function, through configuration you can see the operation of nginx, status display includes the current number of connections, the number of active connections, the number of requests processed and so on. Here we use zabbix to monitor nginx services. The fo ...
Posted by Ju-Pao on Fri, 04 Jan 2019 15:03:09 -0800
Integrated solution for nginx+tomcat load balancing and redis shared session (By Centos 7)
Document preparation
nginx: nginx-1.10.3.tar.gz
tomcat8: apache-tomcat-8.0.43.zip
redis: redis-3.2.8.tar.gz
Ruby (when using redis cluster): ruby-2.4.1.tar.gz
TomcatRedisSessionManager(From GitHub): TomcatRedisSessionManager-1.1.1.zip
jdk :jdk-8u131-linux-x64.tar.gz
Environmental installation
PS: It is recommende ...
Posted by leeue on Tue, 01 Jan 2019 10:57:08 -0800