When I want to add a dependency in my SpringBoot project, but I'm not sure if the dependency of an existing dependency ..... What should I do if I have added this dependency? If I have added a dependency but I am not sure which dependency I need, how can I find out?
IDEA provides convenient views for our needs.
- The first step is to click on maven on the right side of the project
- Step 2 Check the Dependencies
- Step 3 Click on this button
The dependency graph that opens is as follows
Press Ctrl+F to search for the dependency we want to check, for example, I want to check the spring-boot-start-data-redis dependency
This shows that the spring-boot-start-data-redis dependency has been added to the project.
You can also choose the style of the dependency tree, personally I find the default the most convenient and intuitive
If you find this post helpful please also give me a like before you go, I appreciate it! (づ. づ.) づ