In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Maven is an Apache open source project management tool, based on the project object model POM (Project Object Model), defines configuration information in a pom.xml file, manages project construction, and provides other advanced management tools.
When introducing dependent libraries in pom.xml, you need to specify groupId, artifactId, and version, such as introducing fastjson:
Com.alibaba
Fastjson
1.2.60
Starting with the fix and version upgrade of a fastjson security vulnerability, the maven library 1.2.60 was uploaded and released on September 4, 1919, fixing the problem that may cause OOM when the string contains x escape characters, and adding the AutoType blacklist. Due to the serious harm of security vulnerabilities, officials recommend upgrading to 1.2.60 and newer version.
So can we configure to use the latest version automatically when a new version of fastjson is released? The answer is yes, let's take a look at the advanced writing of the version in the dependency message when configuring pom.xml, much like a mathematical formula:
First of all, it is clear that because the compatibility and stability of the JSON protocol and the fastjson library are very good, you can consider upgrading to the latest version automatically. If the configuration in pom.xml is written like this, fastjson with version 1.2.60 or greater will be automatically referenced:
Com.alibaba
Fastjson
[1.2.60,)
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.