I made one maven jar called Utility for the sake of using it into another project .earlier version of that jar was 1.0.0 SNAPSHOT and It was working fine.
I made changes to it and did mvn clean install .Now version is 1.0.1 SNAPSHOT.
I changed version in the destination projects POM.
I am able to see the latest changes with snapshot 1.0.1 in .m2 repo. also under intelijj External module option it is there.
Am getting below error at runtime of servlet.
Below is snippet of pom xml of destination project
Below is the snippet of pom of Utility project
In dependency dropdown it is showing.
also I am able to see the method inside a class which maven added in destination project as below.
I tried invalidating caches,restarting PC,Intelij Idea .
Also tried clean and build maven project(both),deleting repos from .m2 and rebuilding project.
Kindly help if anyone faced same issue before.