DEV Community

gladiator67
gladiator67

Posted on

When Adding spring boot starters, another dependencies element is generated.

Hello! I use maven with Spring boot extensions. Spring boot version is 3.3.4. I generate spring boot maven projects and add some spring boot starters. The generated projects work without errors. But adding the other starters on existing projects bring the serious errors. Below is the image of adding starters on existing pom.xml file.

Image description

And I add another spring starters on pom.xml. But duplicated element is generated and compilation fails. The added dependency can not be inserted into existing dependencies elements. I also attach the related image.

Image description

Does the maven extension of visual studio code have the configuration menu to prevent this error? Any idea?

Image of Datadog

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more