Recent Posts
-
#PriorityQueue of Java queue series
In the previous article, I used a diagram to sort out the relationship between various queues in Java. Here is the Pri…… -
Two ways of configuring virtual hosts in Tomcat
1. Virtual host configuration based on host name Suppose there is hello. Com in the root folder under Tomcat and wenba…… -
A Java recursive program
First of all, I searched some interview questions to do, including one: enter an integer and find the sum of each numb…… -
Explore Java 9 module systems and reaction flows
New features of Java 9, Java modularization, Java reaction flow, reactive, jigsaw Modular system The Java platform mod…… -
Error Java lang.ClassCastException: com. xx cannot be cast to ResourceBundle
An error occurred: java.lang.ClassCastException: com.xxx cannot be cast to ResourceBundl…… -
Jedis, spring redis data integrated use, version exceptions and solutions.
Recently, there have been some problems in integrating and using redis spring redis spring:3.2. 4.RELEASE jedis: jedi…… -
The Linux system reports an error when the virtual machine starts. This host supports Intel VT-x, but Intel VT-x is disabled
An error is reported when using the virtual machine to start Linux, as follows: The virtual machine is configured to u…… -
Java uses zxing to generate QR code bar code
1、 Add the Maven dependency of zxing, or download the zxing jar package This example uses zxing3 Version 2.0 Maven de…… -
-
java. lang.NoSuchMethodError: javax. servlet. ServletContext. getContextPath()Ljava/lang/String;
Problem Description: in eclipse 3 This error always occurs when starting Tomcat6 in 7, java. lang.NoSuchMeth…… -
Dependency, association, aggregation, combination
Excerpt from: http://www.iteye.com/topic/632059 rely on It can be simply understood that one class a uses another clas…… -
Using scheduled tasks in spring projects
When we want to execute some business methods at a certain point in time, we use timed tasks. It is very simple to use…… -
Java generates compressed packages, and zipoutputstream is used
Case: obtain network resources a, B and C according to the URL, and put resources a and C together to generate a XXX z…… -
Use and comparison of countdownlatch and cyclicbarrier in Java
Countdownlatch and cyclicbarrier are both Java 1 5 began to introduce a tool used in multithreaded programming. They h…… -
How to find the implementation class of the mybatis mapper interface – source code analysis
Keywords: mybatis principle, source code, mybatis mapper interface implementation class, proxy mode, dynamic proxy, Ja…… -
Probe into integer caused by an integer interview question
Interview questions: 1. It's mentioned in the title. It's jdk1 5 environment. OK, let's create a new project, create a…… -
java. lang.IllegalAccessError: tried to access field org. slf4j. impl. StaticLoggerBinder. SINGLETON from class org. slf4j. LoggerFactory
Error record: Java lang.IllegalAccessError: tried to access field org. slf4j. impl. StaticLoggerBinder. SINGLETON from…… -
Java de encryption (AES / CBC) exception on Linux: Java Lang. SecurityException: JCE cannot authenticate the provider BC method
When using MapReduce for data cleaning, you need to decrypt the data. The encryption method is AES / CBC / pkcs7paddin…… -
Detailed explanation of hashtable in Java
an introduction to Hashtable is a legacy class. The common functions of many mappings are similar to HashMap. The diff…… -
13000 word HashMap interview must ask for detailed explanation of knowledge points
an introduction to Inheritance of hasmap Principle of HashMap Ways to resolve hash conflicts Open addressing This met…… -
Front end Foundation (1), HTML
1. Foreword 1.1 software architecture 1.2 the page consists of three parts 2. Introduction to HTML 3. Create HTML file…… -
JavaWeb learning notes (III) JavaScript
1. Introduction to JavaScript 1、 What is JavaScript 2、 JavaScript features 3、 The difference between Java and JavaS…… -
Mac OS fast switching JDK version
Recommended management method: be careful! You can view the current version through Java - version on the command line…… -
JavaWeb learning notes (IV) jquery
1、 Introduction to jquery 2、 Preparations before using jquery 3、 Core function $() 4、 Differences between jQuery o…… -
Java web learning notes (6) JSP
Chapter 6. JSP 1. What is JSP 2. JSP essence 1. JSP is essentially a servlet program 3. Three syntax of JSP 3.1. Page …… -
Do you understand distributed transactions? What is your data consistency solution across multiple services?
preface Look at the title. This is another question asked in the interview. In fact, this question was asked several t…… -
[source code analysis] how are ArrayList and LinkedList implemented? I think you still have a chance!
preface Seriously, among the collection classes most used in Java, list definitely occupies a place. Like map, it is a…… -
It turns out that hot loading is so simple. Write a Java hot loading manually
1. What is hot loading Hot loading means that the changed code can take effect without restarting the service. Hot loa…… -
Millions of AdGuardHomeRules-ADH ad filtering interception rules”
There are probably two ways to use it. One is to build it on a local area network for personal use, and the other is …… -
Java: that’s the case with enumerating classes
1、 Foreword This blog is about jdk1 5's new features are a wave of small summaries of enumeration, mainly because whe…… -
Dynamic binding of Java polymorphism
Dynamic binding of Java polymorphism The first review: polymorphism is a very important feature of object-oriented pro…… -
Basic Java syntax (3)
operator Arithmetic operator Assignment Operators Comparison operator Logical operator Bitwise Operators ternary ope……