How to fix org.hibernate.SessionFactory cannot be resolved (Lỗi Hibernate bị ngu)

If run project spring boot or java class error contain below:

Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: org/hibernate/boot/registry/StandardServiceRegistryBuilder

When run class

When run spring boot project

How to resolve:

Access page: https://mvnrepository.com/artifact/org.hibernate/hibernate-core

get version dependency lasted to update pom.xml file below:


  org.hibernate
  hibernate-core
  5.2.11.Final

Site Footer

Sliding Sidebar

About Me

About Me

Hello, my name is Dũng (Johnny). Welcome to my blog.

As I’m a developer, I write about topics related to the field of programming, mainly from a technical point of view. On this blog you’ll find posts which encourage discussion, information about development trends, case studies, reviews, tutorials, tips on how to improve your effectiveness, and anything else that might be fascinating to people from the IT industry.

  • http://lcdung.top/about/
  • Mail: ledung@8bitbase.com

Time line