ClassNotFoundException: SessionFactory when using Hibernate Entity and Dao in Plugin
Confluence User - 30 Jun, 2023
Hi,
I'm trying to saving data in custom table as described in Using Hibernate Entity and Dao in Plugin
When getting current session line (session = sf.getCurrentSession) is invoking than i'm getting java.lang.NoClassDefFoundError: org/hibernate/SessionFactory
Caused by: java.lang.ClassNotFoundException: org.hibernate.SessionFactory not found by <plugin name>
The same situation when im using sample plugin from the article
Any ideas why ? Some breaking changes in core ?
Any other ideas how to get/create hibernate session ?
plugins