Good morning, I'm starting to create a simple Hibernate database.
I have the following classes
Link.java link
hibernate.cfg.xml link
Form Action link
And when you run the save it returns the following:
INFO: HHH000040: Configuration resource: /hibernate.cfg.xml
Exception in thread "AWT-EventQueue-0" org.hibernate.HibernateException
/hibernate.cfg.xml not found
at
org.hibernate.internal.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:173)
at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:2093)
at org.hibernate.cfg.Configuration.configure(Configuration.java:2074)
at org.hibernate.cfg.Configuration.configure(Configuration.java:2054)
Could anyone help please?