包含标签:Java 的文章
-
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…… -
Portal project startup problem
Error message: Solution: replace application QA Properties file and apply Specify QA as the profile above properties a…… -
Crud practice of Hibernate
As a highly encapsulated persistence layer framework, hibernate used to be very powerful. Now, although it is not wide…… -
Whitelist of microservice internal communication
There are many ways to communicate with microservices. Some use sockets, some use HTTP client tool classes, and some h…… -
Custom events for spring (10)
The simple process of writing custom events is as follows: (1) Write customevent java (2) Write customeventpublisher j…… -
Singleton mode and JDBC
Singleton pattern is a common software design pattern. Its core structure contains only a special class called singlet…… -
Comparative analysis of mybatis + hibernate + jdbc
At present, mybatis is used most as a persistence layer because it meets the variability of Internet development. Ther…… -
Easypoi import Excel
Easypoi's excel export function is as simple as its import function. As I stressed before, the essence of easypoi is P…… -
Spring Boot:The field file exceeds its maximum permitted size of 1048576 bytes
Error message: the field file exceeds its maximum allowed size of 1048576 bytes because Tomcat is embedded in springbo…… -
SSM framework about using JSP as a view to show the problem solution
JSP has been used as a view layer to display data for a long time. No matter studying in school or working in an enter……