Maven Engineering Testing & relying on conflict mediation

catalogue I Maven engineering test 1. Test overview 2.Junit usage steps 3.Junit result judgment 4.@Before,@After II Rely on conflict mediation 1. Shortest path first principle 2. Principle of first declaration 3. Exclude dependencies and lock versions I Maven engineering test 1. Test overview Testing is to evaluate the written ...

Posted by woza_uk on Sun, 15 May 2022 04:58:16 +0300

Overview of SpringBoot/HelloWorld/Auto-assembly/Startup Class

SpringBoot Learn video links to show respect: https://www.bilibili.com/video/BV1PE411i7CV 1. Overview The Spring framework was created to address the complexity of enterprise application development and simplify development. To reduce the complexity of Java development, Spring employs four key strategies: Lightweight and minimally inv ...

Posted by Skara on Fri, 13 May 2022 20:28:54 +0300

Java full stack Development -- Java ERP system development: the establishment of commercial ERP database and the construction of the project

6, Database ORACLE (1) Table space creation 1. Using PLSQL --Tablespace-- CREATE TABLESPACE ERP_TS DATAFILE 'c:\ts\erp.dbf' SIZE 100M AUTOEXTEND ON NEXT 10M; Created successfully (2) Create user -- Create users and associate default tablespaces CREATE USER ERPUSER IDENTIFIED BY itzheng DEFAULT TABLESPACE ERP_TS; (3) Assign permiss ...

Posted by johnbrayn on Fri, 13 May 2022 05:39:24 +0300

Create a mybaits from scratch

catalogue 1: Create project maven 2: Import mybaits dependent package 3: Configure 4: Write mybaits tool class mybaits tool class 5: Interface between code entity class and mapper/dao layer 6: Test 7: Attention items SqlsessionFactoryBuilder class SqlSessionFactory interface SqlSession interface 1: Create maven project ...

Posted by 2705ap on Thu, 12 May 2022 21:06:11 +0300

Maven from 0 to 1 (solve the problem that the project cannot be started)

1 what is maven? maven is an open source project of java. jdk running environment is required for installation and operation effect 1. jar package dependency management of Java project 2. The construction of Java project includes compilation, testing, packaging and deployment 2.maven installation test [the external chain picture transf ...

Posted by jesse24 on Thu, 12 May 2022 01:07:53 +0300

Maven usage in disconnected environment

Background appeal: Recently, I helped build a Java development environment in the bank Intranet environment, in which Maven was used for project management. According to the previous understanding, I first set up the framework of the whole project under the external network environment, and then copy the relevant documents, such as project doc ...

Posted by rodrigocaldeira on Wed, 11 May 2022 16:44:32 +0300

Java insert HTML into PowerPoint document

foreword This article will use Free Spire.Presentation for Java controls to demonstrate how to insert HTML into a PowerPoint document in a Java program. The code samples are mainly demonstrated from the following two aspects. Insert only HTML-formatted text into PowerPoint slides Insert HTML with images and text into PowerPoint slides Free Sp ...

Posted by buceta on Wed, 11 May 2022 06:01:11 +0300

Elasticsearch: Pinyin participle

Elastic's Medcl provides a way to search Pinyin search. Pinyin search is used in many application scenarios. For example, in Baidu search, we can use pinyin to appear Chinese characters: For us Chinese, Pinyin search is also very direct. So how can we use pinyin to search in elastic search? The answer is that we use the elastic search analys ...

Posted by DF7 on Mon, 09 May 2022 01:51:39 +0300

SpringBoot2.x+Spring5+Mybits3.x later use vue front-end to build front-end and back-end separation-1 to get to know the new SSM

catalogue What is annotation What is the Spring framework Relationship between SpringBoot and SpringClound Common SpringBoot project development methods Recommended solutions for learning new technologies What is annotation Java annotation is some meta information attached to the code, which is used for parsing and using some tools dur ...

Posted by chigley on Sun, 08 May 2022 09:10:50 +0300

SpringBoot ~ solve three doubts, why POM No version required for importing dependency in XML file? How does it achieve automatic configuration? How does it start and run?

Why POM You do not need a version to import dependencies in an XML file? SpringBoot is a Maven project in the final analysis. We usually start from POM XML file; In the past, whether it was java web or SSM, we were in POM The import dependency in the XML file needs to implement its version, but there is no version in the SpringBoot project ...

Posted by ThunderAI on Sun, 08 May 2022 07:00:13 +0300