Nexus upload deployment component

If uploading on the windows command line: You need to set it in the global setting.xml file:   setting The configuration is as follows: <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi: ...

Posted by brauchii on Fri, 01 Nov 2019 20:54:37 -0700

SpringBoot custom starter

1 create an empty project first (name yourself) 2 create two modules in the empty project created in step 1, and the creation method is as shown in the following figure. 1) create initiator module with maven project my initiator name is Mao spring boot starter pom.xml As shown below <?xml version="1.0" encoding="UTF-8"?> <projec ...

Posted by McChicken on Wed, 30 Oct 2019 13:50:19 -0700

SSM environment construction

SSM environment construction Create project General directory structure Specific file configuration Run Tomcat Operation result SSM(Spring+SpringMVC+MyBatis), the framework of web project First of all, ensure that the Maven configuration is completed and that the image source is replaced by domest ...

Posted by pyro3k on Tue, 29 Oct 2019 14:53:15 -0700

Spring cloud series four: service consumer (Feign)

I. about Feign Feign means "pretend, camouflage, transform" in English. It is a lightweight framework for http request calling. It can send http request in the way of interface annotation instead of http client calling by encapsulating http request message. Feign templates the request by processing comments. When it is actually calle ...

Posted by dalex on Tue, 29 Oct 2019 14:44:30 -0700

Create Spring Boot application

Using development tools: Spring Tool Suite 4 Create a Maven project Select File - > New - > others - > Maven - > Maven project Create a simple project(skip archetype selection) Use default Workspace location Add project(s) to working set Choose project type: usually choose to build Maven archetype QuickStart (non web proj ...

Posted by Dennis Madsen on Tue, 29 Oct 2019 12:15:50 -0700

Spring boot uses Redis cache

1 redis is installed on linux Install docker yum install docker 2) open docker service docker start 2. Install Redis Go to this website to find out how to install https://hub.docker.com Open redis 3 create a springBoot project (details are not covered in detail) pom.xml file <?xml version="1.0" encoding="UTF-8"?> <project xmlns= ...

Posted by kubis on Mon, 28 Oct 2019 09:59:04 -0700

ES source road: source local compilation start

ES source road (1): source local compilation and startup First of all, let's talk about ES: ElasticSearch is based on Lucene Search server for. It provides a distributed multi-user full-text search engine based on RESTful web interface. Elasticsearch is developed in Java language and released as op ...

Posted by bradles on Sun, 27 Oct 2019 20:28:49 -0700

Spring MVChelloworld, components, architecture

Catalog I. create project II. Pit encountered Using tomcat in idea Use @ responseBody service tomcat console garbled III. architecture and components Frame structure Technological process Attention points assembly HandlerMapping HandlerAdapter \ ViewReslover I. create project Create a ...

Posted by artiemus on Sat, 26 Oct 2019 22:08:50 -0700

II. Construction of project development framework

    Create a new project first   Select maven project creation   Delete the src folder. It's just a shell. It's useless. Continue to create a maven project in the shell you just created Not as a parent project, just as a module aggregation here Then there are mo ...

Posted by scampbell on Sat, 26 Oct 2019 19:56:23 -0700

Java 5 lines of code to import and export Excel

Java 5 lines of code to import and export Excel scene Use Create a table mapping object Export demonstration Import demonstration Introduce maven github scene In the work, the scene of exporting Excel often appears, such as managing the function of background export, batch correcting databas ...

Posted by KoopaTroopa on Fri, 25 Oct 2019 13:18:47 -0700