Maven: How to add resources and class files when using spring-boot-maven-plugin

When using spring-boot-maven-plugin to package JAR for current projects, it is often necessary to add some resources and class files under non-default paths to the JAR package. The following can be configured in pom.xml <build>     <plugins>         <plugin>             <group ...

Posted by dniezby on Sun, 13 Oct 2019 14:07:57 -0700

Maven's Core Concept

Maven's Core Concept 1. coordinates Maven coordinates consist of main components (GAV) to determine the location of a jar package groupId: Defines the current Maven organization name artifactId: Define the actual project name Version: Defines the current version of the current project 2. Finding coordinates Visit http://www.mvnrepository.co ...

Posted by Killswitch on Sat, 12 Oct 2019 10:36:01 -0700

Global exception handling in SpringBook series of tutorials

When there are exceptions in our back-end application, we usually wrap the exceptions and return them to the caller or the front-end. In the actual project, it is impossible to handle exceptions everywhere, and then elegant code may throw exceptions. So how can we handle these exceptions gracefully in Spring project? This article will introduce ...

Posted by Gayner on Fri, 11 Oct 2019 03:54:20 -0700

Tomcat Source Analysis I: Compiling Tomcat Source Code

Tomcat Source Analysis I: Compiling Tomcat Source Code 1 Content Introduction In the previous "Servlet and Tomcat Running Example" article, we will show you how to deploy Servlet application in Tomcat. This article will start Tomcat source code analysis journey on the basis of the above, I will analyze the starting process and operati ...

Posted by [JayZ] on Fri, 11 Oct 2019 01:01:54 -0700

Running process of Mybatis mapper interface proxy object

Query all the data in a table. Environmental Science: Use the tool IntelliJ IDEA version 2018.2. Creating Maven Project without Skeleton 1.pom.xml 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:sc ...

Posted by selliott on Wed, 09 Oct 2019 14:47:47 -0700

Assemble com into dll for java call

1. Generating dynamic libraries using ATL Reference link: https://blog.csdn.net/wangwenjing90/article/details/8771934 2. Generate dll Dynamic Library manually, the specific way of generation will not be elaborated, only the code is shown here. 2.1 hello.h file #ifndef _HELLO_H_ #define _HELLO_H_ ...

Posted by sanam on Wed, 09 Oct 2019 11:28:20 -0700

Several ways of eclipse maven beating war bags

Links to the original text: https://www.cnblogs.com/qlqwjy/p/8231032.html Reproduced from: https://www.cnblogs.com/qlqwjy/p/8231032.html First: Packing with pom.xml files. Right-click the pom.xml file and select Debug as or Run as. But ...

Posted by jtown on Wed, 09 Oct 2019 05:10:39 -0700

Interpretation of Java SDK Subscription on Internet of Things Platform Server

1. To use the service-side subscription function, you need to set it on the console and select the type of message you want to push. 2. Adding dependencies to the Maven project, as shown below. <dependencies> <!-- Aliyun core --> <dependency> <groupId>com.aliyun</groupId> &lt ...

Posted by gavin1996 on Wed, 09 Oct 2019 03:11:06 -0700

Apache Flink Zero Foundation Getting Started Writing the Simplest Hello World

Experimental environment JDK 1.8 IDE Intellij idea Flink 1.8.1 Experimental content Create a Flink Simple Demo that counts the number of words from the stream data. Experimental steps First, create a maven project, where the pom.xml file is as follows: <properties> <flink.version>1.8.1</flink.version> ...

Posted by kavitam on Wed, 09 Oct 2019 00:08:13 -0700

Eclipse uses Maven to build MyBatis quickly

what is maven? Maven Project Object Model (POM) is a project management tool software that can manage project construction, reporting and documentation through a short description of information. Maven provides advanced project management tools in addition to program building capabilities. Because Maven's default build rules are highly reus ...

Posted by xt3mp0r~ on Tue, 08 Oct 2019 21:27:50 -0700