包含标签:Java 的文章
-
FreeMarker generates java code from templates
FreeMarker generates java code based on templates. In this sentence alone, you must also know its application, such as…… -
Talk about javac
The Java language has the Java language specification, which describes in detail the morphology and syntax of the Java…… -
Java creates files and writes data
Application scenario: take OJ project as an example to create corresponding In or Out file and write the relevant data…… -
Could not get a resource from the pool
Key error information: could not get a resource from the pool The common reason is that redis on the remote server is …… -
Dynamic SQL of mybatis
If you use ORM frameworks such as JDBC or hibernate, you often have to splice SQL as needed, which is a very troubleso…… -
availableProcessors is already set to [8], rejecting [8]
Error details: Key information is as follows: Through keyword search, a solution is found because the netty of springb…… -
Sharing of Java related framework data and its basic data, advanced data and test data
Personal note: just for sharing, not for others. May all programmers soar freely in the programming world! In my opini…… -
Renren security of Renren open source read “writing high quality code: 151 suggestions for improving Java programs”
Ren security, I will study it in detail from this week. The previous research is only shallow. As stated in reading "w…… -
org. springframework. beans. factory. Beancreationexception: error creating bean with name ‘jpamappingcontext
Background of error: migrate the blog project previously written in eclipse to idea. The ecilpse project has never bee…… -
Batch addition example of SSM framework (synchronous request JSP view parsing)
Preparation environment: SSM framework + jdk8 / JDK7 + mysql5 7 + maven3up + tomcat8 / 7 application server Example de…… -
Hystrix of spring cloud
In the microservice architecture, microservices are highly dependent on each other, and calls between them will inevit…… -
closing inbound before receiving peer’s close_ notify
Error details: Solution: just add usessl = false to the database connection URL. Refer to the problem solving link: cl…… -
FreeMarker generates HTML code based on the model
FreeMarker generates HTML code according to the model, which is essentially the same as FreeMarker generates java code…… -
Spring (14) programmatic transactions (Continued)
Spring programmatic transaction management The programming transaction management method allows you to manage transact…… -
Spring (XX) uses log4j to record logs
Log records are also commonly used, such as exception information records or other relevant information records. Good …… -
ThreadLocal memory leak
I saw an article about ThreadLocal memory leak on the Internet some time ago Therefore, I also studied the ThreadLocal…… -
Event handling in spring (9)
The core of spring is ApplicationContext, which manages the full life cycle of beans. ApplicationContext publishes cer…… -
Java date implementation + Tianzhi core code
Reqdto is the transfer object, and getvalidnum is the specific time, which is of type int by default. The number of da…… -
Spring cloud security
Spring security is a security framework provided by spring, which provides authentication and authorization functions.…… -
Remember a mistake about the use of SSM framework
Today, I encountered a very fucking problem. Finally, I found that I forgot to add @ Autowired to the corresponding se…… -
Two common solutions to undefined problems in front-end JSON acquisition
A friend from the blog Park answered: Why add "(" ("+ data +")); / / "to eval? The reason lies in the problem of Eval …… -
Druid encryption
As for why to encrypt, it mainly prevents too many people from knowing the database password, which may cause losses t…… -
Shiro actual combat series (IX) Web
1、 Configuration The easiest way to integrate Shiro into any web application is on the web Configure contextlistener …… -
AOP of spring (11)
A key component of the spring framework is the aspect oriented programming (AOP) framework. Aspect oriented programmin…… -
How to use java to send e-mail when port 25 of alicloud server is disabled (solve the problem of disabling port 25)
Usually, we use java to send mail locally. There is usually no problem, but if we deploy to the server, we may encount…… -
JDK built-in monitoring tool
This article is mainly about the popularization of tools. It tells you that there are two tools that can help us tune …… -
Introduction to mybatis principle and test ox knife
In my opinion, the principle of mybatis is consistent with that of hibernate in some aspects. First, review the princi…… -
Restful example of SSM framework
Demo environment: Maven + Spring + spring MVC + mybatis plus or mybatis + jdk8 I think there should be no problem with…… -
Lombok problem
Today, I studied Dubbo as a distributed open source project Dubbo app. In order to eliminate the conflict and interfer…… -
Druid monitoring configuration
Druid has many new features compared with the traditional c3p0, DBCP and dbcp2 You can online monitor the database and…… -
Remember an eclipse question about JDK and JRE and talk about javac
Today, my colleague encountered a problem and found that the import package actually reported an error, but the packag…… -
Thread control
1、 Thread sleep Method used: public static void sleep (long millis): let the executing thread sleep for millis Public……