Farha
Farha

Reputation: 1

Facing the below error while upgrading from Sprinboot 3.2.12 to 3.4.0- NoSuchMethod CollectionUtils.newLinkedHashSet(int)'

Facing the below error while upgrading from Sprinboot 3.2.12 to 3.4.0 Spring framework version upgraded from 6.1.15 to 6.2.1

NoSuchMethod 'java.util.LinkedHashSet org.springframework.util.CollectionUtils.newLinkedHashSet(int)'

How can this be resolved?

checked the dependency tree and verified that all spring versions are compatible

Upvotes: -1

Views: 291

Answers (1)

Silpa
Silpa

Reputation: 16

make sure spring-boot-starter is in sync with the newly added dependencies. try using dependencymanagement in pom.xml to make sure version is consistent.

Upvotes: 0

Related Questions