Java
-
Tomcat server downtime solution
Error message: java. lang.Object. wait(Native Method) java. lang.ref. ReferenceQueue. remove(ReferenceQueue.java:143) …… -
Java deployment environment setup (Linux)
Environment construction must be JDK, Tomcat and MySQL (basic) Additional packages may be used in the project JDK: it …… -
Integration of SSM framework ehcache
This article focuses on integrating ehcache with SSM framework. Someone may ask what ehcache is. About the introductio…… -
Page redirection of spring (18) and form processing of spring (17)
First of all, the Maven dependency of this example can reuse the form processing of spring (17) There is an important …… -
Swagger bootstrap UI of springfox swagger
Swagger bootstrap UI is an open source swagger project in China. It has been three years since it was launched. After …… -
Application of inheritance of Java features
Inheritance is for reuse. Reuse is to reduce redundant code and improve development efficiency. This time I talk about…… -
com. sun. org. apache. regexp. Internal does not exist
Error reason: an error is reported when importing idea from TX LCN (version 5.0.2). Solution: remove this line of guid…… -
Summary of website performance optimization and spring integration redis
Now more and more places need non relational databases. Recently, the website has been optimized. Of course, after the…… -
Service registry and provider of spring cloud (Eureka server and Eureka client)
1、 Building a service registry using Eureka server 1. Maven dependency 2. Configuration file (application. YML) 3. St…… -
Authentication of Shiro combat series (V)
It is recommended to learn Shiro to read the official documents. Although you may not understand it, it is recommended…… -
Java time conversion
This example is enough to illustrate how data of date type is converted to long type, and how long type date is conver…… -
Shiro actual combat series (7): real
Realm is an application specific security data access platform (such as users, roles and permissions). Realm converts …… -
Spring cloud config
What are the main applications of the configuration center, that is, the config component in spring cloud? This articl…… -
List processing of new features in Java 8
grouping: Filter (single condition): Filter (multi criteria): -
Java generates PDF and operates on PDF content
Although there are many online tools that can export PDF or word or convert to PNG format, I think we still need to kn…… -
JDBC framework of spring (12)
JDBC framework overview When using an ordinary JDBC database, it will be troublesome to write unnecessary code to hand…… -
Explanation of IOC, bean and scope of spring (III)
The spring container is the core of the spring framework. The container creates objects, connects them together, confi…… -
Introduction example of spring (II)
Any programming technology, especially the introductory example, is usually Hello world, and I also follow this indust…… -
Renren open source code generator
This article mainly includes three parts: introduction, code generation demonstration, code analysis (not very in-dept…… -
Form processing in spring (17)
Form processing is very common in actual development, such as login, registration, addition, modification and so on. I…… -
Shiro actual combat series (4) configuration
Shiro configuration Shiro is designed to work in any environment, from the simplest command-line application to the la…… -
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…… -
Spring scheduled task usage and how to use mail monitoring server
Spring related dependencies can be imported to use spring's scheduled tasks! Scheduled tasks are commonly used in deve…… -
HTTP requests for Java
After running the main method, the above code directly returns to Baidu's HTML interface This is the following common …… -
Java generates barcode, PDF and HTML FreeMarker generates HTML code according to the model
For generating HTML from Java, please refer to my article: generating HTML code according to FreeMarker model -
Spring cloud ribbon
Spring cloud implements load balancing through the ribbon. 1、 Add Maven dependency 2、 Application YML configuration …… -
Annotation based configuration in spring (7)
Annotation based configuration Since spring 2.5, you can use annotations to configure dependency injection. Instead of…… -
net. sf. jsqlparser. statement. select. PlainSelect. getGroupByColumnReferences()Ljava/util/List;
Error message: This error caused me to fail to start the project. Error reason: it is found that it is caused by the c…… -
Nacos of springcloud Alibaba
1、 Run Nacos Nacos GitHub open source address: https://github.com/alibaba/nacos Nacos official documents: https://nac…… -
Get HttpServletRequest and httpservletresponse from spring MVC
The singleton pattern most commonly used by beans in spring What about HttpServletRequest and httpservletresponse in s…… -
Shiro combat series (11): caching
The Shiro development team understands that performance is critical in many applications. Caching is the first state-o…… -
Application example of crawling blog data using java jsup
Import Maven dependencies Select the website you want to crawl (here I take crawling my own blog posts as an example) ……