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 Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more