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?

Top comments (0)