Consider defining a bean of type Autowired(required=true) caused by irregular definition of spring 5.1.x class name

When the project was changed to Micro Services, a higher version of spring 5.1.10 was used. So one class is wrong Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-01-10 10:46:08.665 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - ** ...

Posted on Thu, 09 Jan 2020 19:58:30 -0800 by dvwhi

13. Logger Android intensive course notes

1. Overview 2. log level 3,Logger 1. Overview When Android developers debug the program, they will more or less use log to check the status of the program. At the same time, the system will also prompt the R & D personnel through the log, information that the system needs to handle, such as exceptions, system warn ...

Posted on Wed, 08 Jan 2020 07:10:18 -0800 by nineseveninteractive

Take you step by step through Retrofit source parsing: a network request framework based on OkHttp

What is the difference and connection between OkHttp and Retrofit? Reference Answer:OkHttp and Retrofit are both popular open source frameworks for networks Packaging is different:Retrofit encapsulates specific requests, thread switching, and data conversion.retrofit encapsulates okhttp using proxy, appearance, and policy patternsOkHttp is a s ...

Posted on Tue, 07 Jan 2020 10:33:13 -0800 by fox_m

A brief introduction and application of Disruptor

Preface Recently, I have been busy with my work. In my work project, I saw that many people have implemented a set of data task processing mechanism by themselves. I feel a bit disordered, and it is also convenient for other people's follow-up maintenance. So I came up with a data processing mode, that is, the mode of producer, buffer queue an ...

Posted on Tue, 07 Jan 2020 05:55:55 -0800 by bakaneko

Open source wechat applet project based on "play android" open API

❤ the applet has been approved and is online!!! It's an instant experience. Project source address, welcome star: https://github.com/mtjsoft/wanandroid 1. Applet Name: play Android Based on the wechat applet version of play android completed by play android open API of Hongyang Daxin, let's learn about applet development. ...

Posted on Tue, 07 Jan 2020 03:34:35 -0800 by MatrixDancer

Record the process of making pypi package for the first time

Preparation 1. Create a project folder mkdir dada_openapi_python cd dada_openapi_python 2. Create package folder A folder of dada open API client is being created in it. The name of this folder is intentionally different from that of the upper directory to avoid misunderstanding. This folder is actually the package name mkdir dada_openapi_clien ...

Posted on Tue, 07 Jan 2020 02:48:00 -0800 by jikishlove

Java serialization 67 - in-depth one-dimensional array, detailed explanation of args parameter in main method

1, Reviewed one-dimensional array, also reviewed the attention of forced type conversion. package com.bjpowernode.java_learning; public class D67_1_GoDeepIntoArrays { public static void main(String[] args) { //Create an array that can store Dog,It can also be stored Cat Animal67[] as = new Animal67[4]; //Assign values ...

Posted on Mon, 06 Jan 2020 07:04:03 -0800 by Fira

Using codis to realize Redis distributed cluster management

1, Understanding of Redis codis is a distributed redis solution. For the upper application, there is no obvious difference between connecting to the redis proxy and connecting to the native Redis Server (some commands are not supported). The upper application can be used as a stand-alone redis. The lower layer of codis wil ...

Posted on Sun, 05 Jan 2020 19:32:52 -0800 by suma237

The vertical Gallery, zoom in the middle and press on both sides

Use RecyclerView to achieve Gallery effect, enlarge in the middle, and press both sides Specific github: https://github.com/Azoft/CarouselLayoutManager Usage method 1. Add dependency 2. Add a layout and use the recyclerview of the system (remember to import the package of recyclerview) Item 3. The user-defined ad ...

Posted on Sun, 05 Jan 2020 19:30:58 -0800 by adi

On the use of PopupWindow in Android

There are two main forms of pop-up in Android: AlertDialog and PopupWindow. The main difference between the two is the location of the display: the AlertDialog is fixed in the location display. The location of the PopupWindow can be displayed on the main screen. PopupWindow can be used in two steps: 1. Create PopupWindow obje ...

Posted on Sun, 05 Jan 2020 19:06:02 -0800 by kida462