Mybatis learning notes - annotation configuration development

Overview: 1. Preparation Create a database and user table, account table (using mysql) Entity class User Entity class Account dao.UserDao dao.AccountDao 2. XML configuration file Mybatis-config.xml.xml (under resources directory) 3. Operation test UserDaoTest AccountDaoTest 4. note: Project ...

Posted by rake on Tue, 04 Feb 2020 01:28:48 -0800

Tomcat reports serious errors: unable to process jar entry [module info. Class] from jar

Unable to process jar entry [module info. Class] from jar appears when Tomcat runs It can be seen from error analysis that Jar entry cannot be processed from Jar package [module info. Class]Wrong content serious: Unable to process Jar entry [module-info.class] from Jar [jar:file:/D:/STS/Workspaces/Clo ...

Posted by Mikersson on Thu, 30 Jan 2020 07:49:25 -0800

Java foundation - log usage

If log and exception handling are combined properly, it will bring great value to project maintenance. Log: a detailed record of a process and experience.Project Log: it is the detailed record of the project development process, which is generally recorded by the project manager.Log in the code: the pro ...

Posted by Iron Bridge on Thu, 30 Jan 2020 01:37:40 -0800

Hadoop learning Chapter 2 HDFS

Hadoop learning Chapter 2 HDFS Chapter II HDFS HDFS overview HDFS definition Advantages and disadvantages of HDFS HDFS architecture HDFS file block size (interview focus) Common command practice HDFS client operation (development focus) HDFS client environment preparation HDFS file download HDFS ...

Posted by goa103 on Mon, 27 Jan 2020 03:14:04 -0800

Log4j2 configuration and customization

The new requirements need to make some customized things on log4j, so the log4j2 is supplemented To configure Let's look at the traditional configuration of log4j2 <?xml version="1.0" encoding="UTF-8"?> <Configuration status="WARN"> <properties> <property name="log_path"&gt ...

Posted by fluteflute on Fri, 17 Jan 2020 03:18:16 -0800

Introduction to Trigger of Quartz task scheduling

Introduction to Trigger Quartz has some different trigger types, but the most used ones are SimpleTrigger and CronTrigger jobKey Indicates the ID of the job instance. When the trigger is triggered, the specified job instance will be executed statrTime Represents the trigger's schedule, the first time it ...

Posted by sajidfiaz on Thu, 16 Jan 2020 07:43:11 -0800

log4j2 source code analysis -- Configuration

Acquisition and initialization of Configuration LoggerContext is introduced in the previous article. One of the main functions of this class is to convert the structure of the configuration file into Java objects, such as Appender and Logger, according to the configuration file. Configuration is mainly managed by the configuration class. This ...

Posted by borabora12 on Wed, 08 Jan 2020 02:00:15 -0800

How is slf4j bound to a specific log framework

SLF4J is a Simple Logging Facade for Java, which is a facade (appearance) interface or an abstraction of various logging frameworks, such as java.util.logging, logback, log4j, etc. with this product, we can not care about the specific implementation, that is to say, we can switch the logging framework at any time. The latest version of slf4j 1 ...

Posted by lovelf on Tue, 07 Jan 2020 04:02:05 -0800

Spring boot configuration Servlet, Filter, Listener

Spring boot configuration Servlet, Filter, Listener In spring boot applications, the embedded Servlet 3.0 + container will not directly use the ServletContainerInitializer and WebApplicationInitializer, that is, the Servlet, Filter and Listener configurations implemented through the above two interfaces are invalid, which is to prevent the desi ...

Posted by srikanth03565 on Thu, 02 Jan 2020 09:29:34 -0800

Kubernetes+docker-DIY-kafka+zookeeper+manager cluster deployment

Foreword: Recent project of combining kafka and zookeeper containerization with rancher, I consulted related websites and books and found that there are many reasons why I chose to customize it if it is relatively strong to standardize the company. Let me briefly talk about the reasons why I chose to customize it finally: (Because k8s+kakfa te ...

Posted by harty83 on Fri, 20 Dec 2019 09:48:27 -0800