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 > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to fix the unknown error in the springboot dependency package. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.
Springboot dependency package error unknown1, let's talk about the version first
Springboot uses version 2.0.3
2. Description of problem
Directly on the picture:
In addition to redis error, commons-beanuitls also reported the same problem. I deleted the unknown folder from the local repository and reimported it. Later, after much thought, I decided to see if the version of the jar package that springboot depends on can be viewed. Sure enough, we click this link.
The page you entered is the jar package version supported by the current version of Springboot. If you want to see other versions, you can modify 2.0.3 in the link;
3. Find the jar version of redis
Ctrl+F, enter redis and search backwards:
I found an extra data. As for which version after spring-boot-starter-redis began to change into spring-boot-starter-data-redis, check it yourself in the same way. Springboot1.4.7 version is still spring-boot-starter-redis. Since it is a jar with spring-boot-starter prefix, the version number can be written or not. In reimport, the problem is solved;
4. Share a little trick
In the maven management window, there is a button, I do not know if you have used it, I used it for the first time, I feel very excited after seeing the dense map
Please see, in this figure you can clearly see which dependencies are added, what is the version number, double-click to enter the position of the code that introduced the dependency in the pom file
springboot project error Unknown Error
Add to pom.xml file
3.1.1
Thank you for reading! About "how to solve the problem of error unknown in springboot dependency package" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!
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.