'Cannot resolve org.hibernate:hibernate-core:5.4.30.Final

This error comes when Spring Initializer is used, and project is imported in the IDE.



Solution 1:[1]

Step 1) Open the pom.xml file.

Step 2) Search for the parent tag.

Step 3) In parent tag check the version tag for the version of Spring Boot.

Step 4) Downgrade the version to previous version of Spring Boot.

Ex: From 2.4.5 to 2.3.3.RELEASE

Step 5) Update the project, problem is solved now.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ankit