idea mvn trampling pit using mvn packaging

Recently, I started learning Spring Cloud. One of the pitfalls in using mvn packaging is that it succeeded in packaging, but none of the dependencies were introduced. (I joined the spring boot mvn plugin). The jar package is only a few kb. I searched a lot on the internet, but all of them are saying that spring boot mvn plugin n ...

Posted by ruddyu78 on Sun, 12 May 2019 11:14:57 +0200

Deployment of tomcat and Jenkins

Introduction to tomcat Tomcat is a core project of Apache Software Foundation's Jakarta project. It is developed by Apache, Sun and other companies and individuals. Tomcat server is a free open source web application server, belonging to lightweight application server. JSP development and debugging is widely used in small and ...

Posted by papapax on Sun, 12 May 2019 04:08:58 +0200

Design Patterns--Factory Patterns

Derive Simple Factory Mode from Pizza Project Factory Method Model Abstract factory pattern key point Pizza project: to facilitate the expansion of pizza varieties, to facilitate maintenance, to be able to run the expansion Pizza design: Define an abstract class of Pizza, define four methods prepare() abstract me ...

Posted by dannyz on Sun, 12 May 2019 00:22:47 +0200

ssm (Spring, Springmvc, Mybatis) Taobao Shop - Day 1

outline 1. Course introduction2. Basic introduction of Taotao Shop3. Background management system engineering structure and construction4. svn Code Management5. Project Source and Data Download6. Reference Articles   1. Course introduction 1. Course Outline A total of 14 days(1) Day 1: Background of E-commerce industry.Introd ...

Posted by icesolid on Sat, 11 May 2019 06:38:50 +0200

Toolset Core Tutorial | Part 5: Using Velocity Template Engine to Generate Template Code

Preface I don't know if you have such a feeling. In normal development, there are often many duplicate codes in dao and service classes. Velocity provides template generation tools. Today, I will teach you how to say goodbye to these duplicate codes. Reference items: https://github.com/bigbeef/cppba-codeTemplatePersonal blog: http://www.zhangb ...

Posted by Tonic-_- on Sat, 11 May 2019 04:37:58 +0200

Differences between Spark coalesce and repartitions

Source package: org.apache.spark.rdd def coalesce(numPartitions: Int, shuffle: Boolean = false, partitionCoalescer: Option[PartitionCoalescer] = Option.empty)(implicit ord: Ordering[(K, V)] = null): RDD[(K, V)] Return a new RDD that is reduced into numPartitions partitions. This results in a narrow dependency, e.g. if you g ...

Posted by Fabio9999 on Sat, 11 May 2019 03:27:02 +0200

DR Mode + Keepalived for LVS (High Availability)

1. Basic concepts 1.keepalived is a software similar to layer3, 4 & 5 exchange mechanism, which is commonly referred to as Layer 3, Layer 4 and Layer 5 exchange.Keepalived is done automatically without manual intervention.2.Keepalived's function is to detect the state of the server. If a web server is down or fails to work ...

Posted by d22552000 on Fri, 10 May 2019 19:41:10 +0200

Simulated Springboot 2: built-in tomcat

Since tomcat is built into a project and can successfully start a project, you need to know what tomcat has done, so you need to understand first. How a common web project is started and run by our locally configured tomcat (1) Tell tomcat which projects to run first (that is, configuring tomcat before starting a project with eclipse, idea, or ...

Posted by abduljan on Fri, 10 May 2019 17:39:18 +0200

Analysis of RPC and WebService

Although SpringCloud and Dubbo(x) are the main technologies in the popular RPC technology, some more traditional technologies cannot be avoided if interface calls are made.I happened to use WebService's technology the other day when making interface calls (Sections 8,9 are real development), which is exactly what I wrote here. 1. RPC-related ...

Posted by horseatingweeds on Fri, 10 May 2019 16:33:10 +0200

Reasons for BindingException in SSM with maven Integration

Reasons for generating org.apache.ibatis.binding.BindingException When I was doing SSM integration, I made this mistake: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): jgsu.clong.mapper.SpuMapper.insert_spu at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:18 ...

Posted by vbnullchar on Fri, 10 May 2019 02:16:02 +0200