1. First configure the jdk
Find the location of your own jdk
2. Configure Tomcat
Find your own tomcat location
3. Right click the project, build path -------- > configure build path
4. Import log4j-1.2.14.jar
Right click log4j-1.2.14.jar file build path ----- > add to build p ...
Added by hadeosdin on Sat, 02 May 2020 12:22:02 +0300
1. Simple use
Only one jar package of log4j needs to be imported, and the log4j.properties configuration file under the src directory will be loaded by default
1. Print log to console
log4j.properties configuration file content
#Set the log level to info and output to the console
log4j.appender.console = org ...
Added by jay_bo on Mon, 20 Apr 2020 18:53:38 +0300
Let's talk about it briefly: the first time I contacted the platform provided by Baidu AI, I looked at it briefly, liked it very much, and provided many practical functions. What we use here is the function of character recognition. Its usage is very simple, and it can be realized by basic http call, ...
Added by nimzie on Fri, 14 Feb 2020 12:27:29 +0200
Interview questions, written exams, the points of knowledge to be used in the work if you do not know them, then the interview is usually here, you can call the Engineer for the API yourself.
->Return to Column Directory <-
Code download address: https://github.com/f641385712/feign-learning
Added by calevans on Wed, 12 Feb 2020 05:09:59 +0200
Steps are as follows
1 Maven for jar package management
Added by ocd on Mon, 13 Jan 2020 13:26:54 +0200
The caching of mybatis refers to caching query results. When using the same sql statement and passing in the same parameters to query in the future, the query results can be obtained directly from the local caching of mybatis without querying the database.
mybatis's cache includes the first level cache and the second level cache. The first leve ...
Added by grandeclectus on Sun, 12 Jan 2020 13:53:13 +0200
Timed tasks are used in the project. Write a note to record with your notes.
First add the beans tag to the Spring configuration file ApplicationContext.xml file
Currently, there ar ...
Added by reddevil on Mon, 06 Jan 2020 18:25:06 +0200
Using JAVA Servlet to realize the Demo of the third-party website wechat code scanning login, it's really hard to do this, it's not easy to achieve, but it's still done. Here, paste the code to avoid the detour of friends who do wechat login development
public class Co ...
Added by LAEinc. Creations on Tue, 31 Dec 2019 19:30:21 +0200
Log recording is essential to the system. The commonly used log components in spring boot include log4j, logback and log4j2. Logback is the default of spring boot and has been brought by itself. You can choose log4j2, and others don't need to pay attention;
1, Integrated log4j2 log component
1. Remove the default logback log frame ...
Added by PerfecTiion on Thu, 19 Dec 2019 20:47:41 +0200
1. Create a database
2. Create a new user table. The table fields include id, username, birthday, sex and address
3. Download and unzip the maven installation package
New maven project:
2. Select maven and click next
3. GroupId generally fills in the company domain name and writes it backward ...
Added by jawinn on Mon, 09 Dec 2019 23:48:54 +0200