Skip to content
Advertisement

Spring upgrade issue – ClassNotFoundException

I have upgraded my spring boot from 2.2.6.RELEASE to 2.7.0. After the upgrade , i am getting ClassNotFoundException when i start the application. I tried with 2.6.6 but result is same.

My pom file looks like

JavaScript

Exception :

JavaScript

Can anyone please help on this?

Advertisement

Answer

Finally i could solve the issue. In the parent pom had elastic search version was given explicitly. Once i remove the given version error has gone and application works fine.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement