In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today Xiaobian to share with you the use of springboot development interface for the first time to visit very slow how to solve the relevant knowledge points, detailed content, clear logic, I believe most people are still too familiar with this knowledge, so share this article for your reference, I hope you have read this article after harvest, let's learn about it together.
1, jdk modify startup parameters
Open the file $JAVA_PATH/jre/lib/security/java.security (in the directory where you installed jdk) and find the following:
securerandom.source=file:/dev/random
Replace it with the following:
securerandom.source=file:/dev/./ urandom
2, Set dispatcherServlet instant load
spring:
mvc:
servlet:
load-on-startup: 1
3. Set the number of initialized links in the database connection pool
spring:
datasource:
hikari:
minimum-idle: 10
The above is "how to solve the problem of slow access to the interface developed by springboot for the first time" all the contents of this article, thank you for reading! I believe everyone has a great harvest after reading this article. Xiaobian will update different knowledge for everyone every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.