Maven installation configuration
In the previously developed java applications, we used the lib package to import the required dependencies. However, as the program becomes more and more complex and the project becomes larger and larger, we need more and more dependent packages. All of them are copied to lib package, which obviously can not meet our needs. Is there a better wa ...
Posted by kevinkorb on Wed, 09 Mar 2022 12:00:04 +0100
Detailed steps for integrating Mybatis using SpringBoot
Step 1: configure pom file, and configure mybatis and database related dependencies
Here, mybatis uses version 3.4.5. Note: mybatis 3 @ Mapper annotation is only supported for versions above 4.0
Relevant dependency codes are as follows:
<dependency>
<groupId>org.mybatis</groupId>
<artifactId> ...
Posted by jschultz on Wed, 09 Mar 2022 09:20:09 +0100
mybatis review of ssm review
1: Link to idea database
2: The first mybatis process
1: The package and xml interceptor required by Maven are intercepted and scanned
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven. ...
Posted by Fruct0se on Wed, 09 Mar 2022 08:38:49 +0100
SpringBoot Admin2.0 integrated Java diagnostic artifact Arthas practice
Author | sparrow source| Alibaba cloud official account
This article is from Arthas. It was submitted in March 2021. The way of participation in the award-winning essay in April can be seen at the end of the article.
The project initially used Arthas for two purposes:
Through arthas, we can solve the problem of realizing the performance ...
Posted by tomcurcuruto on Tue, 08 Mar 2022 07:28:25 +0100
Detailed construction steps of Spring Boot project? java version of SpringCloud+SpringBoot+uniapp+vue b2b2c microservice mall microservice e-commerce live broadcast with goods source code
In Spring Tools 4 for Eclipse, select File - > New - > Maven Project, and then add relevant information in the interface as shown in the figure.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version&g ...
Posted by webent on Tue, 08 Mar 2022 03:15:37 +0100
Problems encountered in 2022 work II
1. Two way binding does not take effect
The drop-down box has three options: A, B and C, but after selecting B, it still displays A. in fact, the value selected in v-model has become B, but the display has not changed.
Cause of problem: queryParams. Attribute of v-model binding xxx and queryParams are attributes declared in data. xxx is not w ...
Posted by Rustywolf on Tue, 08 Mar 2022 01:44:56 +0100
Gitlab+maven+jenkins integrated release micro project (test environment)
1, Premise: Prepare three servers: 1.Gitlab: IP 192.168.83.140 2.Jenkins+maven: IP 192.168.83.141 3.Tomcat: IP 192.168.83.142 Three servers turn off the firewall:
systemctl stop filewalld
setenforce 0
2, Gitlab installation 192.168.83.140 1. Deploy docker (1) Install docker using yum or up2date
yum -y install docker
(2) Start docker
...
Posted by pvolpe1 on Tue, 08 Mar 2022 01:06:45 +0100
SpringBoot Admin2.0 integrated Java diagnostic artifact Arthas practice
The project initially used Arthas for two purposes:
Through arthas, we can solve the problem of realizing the performance problem analysis tool of test environment, performance test environment and production environment.
By using the combination of jad, mc and redefine functions, the ability of hot update of some node codes in the prod ...
Posted by graziano on Tue, 08 Mar 2022 00:33:21 +0100
It is recommended to migrate the collection from jCenter to Maven central
There are many tutorials published to Maven Central, but most of them have problems. This article is my summary based on solving many problems, which is used to help students in need avoid repeating the same mistakes. What you need can be collected. What if you use it~
1,Farewell to Bintray jCenter
First of all, say goodbye to bintray jcenter ...
Posted by lazersam on Mon, 07 Mar 2022 20:14:50 +0100
Notes on the mybatis framework
Note: This article is a note taken following the mybatis course of crazy God talking about java. Don't spray it if you don't like it!
Link to mybatis Video: [crazy God says Java] the latest complete tutorial of Mybatis, the IDEA version is easy to understand_ Beep beep beep_ bilibili
What is MyBatis
MyBatis is an excellent persistence la ...
Posted by russlock on Sat, 05 Mar 2022 09:39:45 +0100