java.lang.NoClassDefFoundError: org/hibernate/boot/spi/SessionFactoryOptions

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via netty.io by Unknown author

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

,
via askubuntu.com by Unknown author

Set the path for java. Try to look it from here.

Solutions on the web

via Stack Overflow by Dee
, 1 year ago
via osdir.com by Unknown author, 2 years ago
via Stack Overflow by User11111
, 2 years ago
org/openqa/selenium/WebDriver
via Stack Overflow by Gagan Poovaiah
, 4 months ago
via mail-archive.com by Unknown author, 1 year ago
java.lang.NoClassDefFoundError: org/hibernate/boot/spi/SessionFactoryOptions
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetPublicMethods(Class.java:2902)
at java.lang.Class.getMethods(Class.java:1615)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.applyInjections(AbstractServiceRegistryImpl.java:278)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:269)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:231)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:295)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2444)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2440)
at com.hibernate.exercise6.utilities.HibernateUtil.(HibernateUtil.java:41)
at com.hibernate.exercise6.dao.PersonDAO.(PersonDAO.java:37)
at com.hibernate.exercise6.service.EmployeeService.(EmployeeService.java:40)
at com.hibernate.exercise6.app.GUIMain.(GUIMain.java:46)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1581 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.