Problems encountered in springboot+mybatisplus junit test

When spring boot integrates with mybatisplus to add database, junit startup reports the following error java.lang.NoClassDefFoundError: org/springframework/core/annotation/MergedAnnotations$SearchStrategy at org.springframework.test.context.support.TestPropertySourceUtils.buildMergedTestPropertySources(TestPropertySourceUtils.java:74) ...

Posted on Tue, 19 May 2020 10:29:07 -0400 by LexHammer

Take a quick look at EasyExcel

1, EasyExcel 1. Introduction EasyExcel is a simple and memory saving open source project of reading and writing Excel based on Java.In the case of saving memory as much as possible, it supports reading and writing 100M Excel (instead of reading data into memory at one time, reading one row from the disk, thus saving memory).EasyExcel adopts a l ...

Posted on Tue, 19 May 2020 07:15:29 -0400 by nigel_belanger

WIFI debugging assistant Two Use guide

This code only supports hexadecimal sending and receiving, mainly referring to the WiFi client modified by the hexadecimal sending and receiving of Bluetooth. Basic configuration method of WiFi: https://blog.csdn.net/weixin_44244812/article/details/104303322 When I use the Android WiFi client, my android Five The version of mobile phone can con ...

Posted on Tue, 19 May 2020 07:03:50 -0400 by atstein

Learn scala together -- control structure and function

Conditional expression Unlike java/c + +, if / else syntax in scala has a return value, which is the value of the last expression after if / else. val s:String = if(1>0) "yes" else "no" // The return value is the common super type of the return value of the if/else expression. Here is String. val value: Any = if (1 > 0) "yes" else 1 // I ...

Posted on Tue, 19 May 2020 07:00:39 -0400 by ale1981

How to use Spring Boot to integrate Ehcache cache and teach you three ways to do it

This content mainly introduces ehcache based Three To quickly implement the data caching function of Spring Boot applications. In the Spring Boot application, we can use Spring Caching to quickly handle data caching. Next we'll show you how to do Spring Boot caching in three steps. In addition to the cases mentioned in this article. I also c ...

Posted on Tue, 19 May 2020 04:25:47 -0400 by alwaysinit

Spring Boot uses JSR303 to implement parameter validation

The article begins with the official account of "Guo Guo Guo". Address: http://blog.itwolfed.com/blog/97 brief introduction JSR-303 is a sub specification of JAVA EE 6, called Bean Validation. At any time, when you want to deal with the business logic of an application, data validation is something you must consider and face. The ap ...

Posted on Mon, 18 May 2020 23:42:45 -0400 by TobesC

Back end development: spring boot implements registration and login functions

This implementation of the registration and login function requires the basic operation of the database, and is the front and back-end separation development. Generally speaking, it is to design the database first, then write the API interface of the server according to the database, then come to the client or the mobile terminal to design the ...

Posted on Mon, 18 May 2020 21:08:01 -0400 by shlumph

Junior sister learning java IO: File copy and File filter

brief introduction For a linux command thing, my younger martial sister has to ask me to teach her how to use java to realize it. Alas, I feel powerless to stand such a good younger martial sister. It's really hard to be a elder martial brother. Using java to copy files Today, my younger martial sister found me: elder martial brother F, can yo ...

Posted on Mon, 18 May 2020 19:53:45 -0400 by MnilinM

Threads for learning notes

Multithreaded 1. Implement multithreading process Is a running program Is the system's independent unit for resource allocation and invocation Each process has its own memory space and system resources thread Is a single sequential control flow in a process and is an execution path Single-threaded: A process with only one execution path is c ...

Posted on Mon, 18 May 2020 12:46:16 -0400 by matt_4013

Summary of Ultra-Detailed Production-Level Load Balancing Algorithms

Detailed production-level load balancing algorithm Introduction to load balancing Load Balance, the English name for Load Balance, refers to a collection of servers that are symmetrically composed of multiple servers, each of which has an equivalent status and can be served independently without the assistance of other servers.With a load-sh ...

Posted on Mon, 18 May 2020 12:36:53 -0400 by launchcode