Maven references custom jar package

Summary In the project, a third-party jar package that is not available in Maven's central warehouse is used. How to rely on it in Maven? If the introduction is not good, the following will be reported when starting the project: java.lang.ClassNotFoundException exception Import jar In the src directory of the p ...

Posted on Sun, 05 Apr 2020 09:23:37 -0700 by GreenSmurf

Struts2 configuration and a simple example

Struts2 configuration and a simple example Note warehouse: https://github.com/nnngu/LearningNotes brief introduction This article mainly talks about how to use Struts2 in IntelliJ IDEA. The version of Struts2 used in this article is 2.5.14.1, which is a little different from other versions. It has been explained in the article. Environmental S ...

Posted on Sun, 05 Apr 2020 06:39:25 -0700 by radhoo

Spring cloud Chapter 3: service consumers (Feign+REST)

1, About Feign Feign is a declarative and templated HTTP pseudo client developed by Netflix. With feign, you only need to create an interface and annotate it. It has pluggable annotation feature and can use feign annotation and JAX-RS annotation. Feign supports pluggable encoders and decoders. Feign integrates the Ribbon by default and combine ...

Posted on Sat, 04 Apr 2020 14:23:43 -0700 by manwhoeatsrats

Install Tomcat 7.0.14 under Linux

To install Tomcat, you need to install JOK first. If JDk can also be installed, you can move to: http://blog.csdn.net/weixin_37998647/article/details/79424379 After installing JDK, continue to install Tomcat: 1, Download the installation package: wget http://www.aminglinux.com/bbs/data/attachment/forum/apache-tomcat- ...

Posted on Thu, 02 Apr 2020 22:21:09 -0700 by Mav666

java SpringWeb receives image collection and other information from android for storage

The company is an APP maker. Is it the first Android interface in a year Android uses OkGo.post("").addFileParams("key",File); In this way, image transmission is the same as html foreground transmission. It's better to receive the image directly with MultipartFile object. It should also be noted that the original type (int,S ...

Posted on Thu, 02 Apr 2020 10:47:15 -0700 by JasonL

The construction of svn based on apache in linux

1, Download Software subversion-1.7.14.tar.bz2 apr-1.6.3.tar.gz apr-util-1.6.1.tar.gz sqlite-amalgamation-3.7.3.tar.gz httpd-2.2.26.tar.bz2 pcre2-10.31.tar.bz2 expat-2.1.0.tar.gz 2, Packages on which to install 1. Install apr $ wget http://mirrors.tuna.tsinghua.edu.cn/apache//apr/apr-1.6.3.tar.gz $ tar -zxvf apr-1.6.3.tar.g ...

Posted on Thu, 02 Apr 2020 04:19:18 -0700 by Med

Messenger source code analysis

Brief introduction: Messenger is a lightweight IPC solution. Its underlying implementation is AIDL, which means that it is a simple package of AIDL for Android to open The sender can only process one request at a time for interprocess communication, so thread synchronization is not considered in the server, because there is no ...

Posted on Thu, 02 Apr 2020 02:10:55 -0700 by renekosterman

Spring Boot 2.0 animated Banner

Spring Boot is a new framework provided by the Pivotal team, which is designed to simplify the initial construction and development process of new spring applications. v2.0.0.RELEASE It was officially released yesterday. Preface This article introduces an interesting feature animation Banner of Spring Boot 2.0; (of course, it is useless in ac ...

Posted on Wed, 01 Apr 2020 21:40:11 -0700 by mpiaser

The use of JDBC third-party jar package

commons-dbutils-1.6.jar: You can operate JDBC to connect to the database, execute SQL statements, and process the returned result set Three core classes: DbUtils: close resource method (quiet shutdown, do not handle exceptions) Query runner: execute SQL statement and return the result set you want ResuktSetHa ...

Posted on Wed, 01 Apr 2020 19:27:28 -0700 by chele

Using bat to call the executable jar file

1, Project requirements 1.maven project 2. There is a properties configuration file. 3. There are internal jar packages 2, The simple thing is to implement an example 1. Placement of project documents   Note: if it is a web project, we will use the jar file as the path in our project WEB-INF/lib.   2.main method code package com.my.tools.run ...

Posted on Wed, 01 Apr 2020 16:44:01 -0700 by senatedc