Oct 27, 2018 3:45:40 PM org.hibernate.cfg.Environment <clinit>
INFO: HHH000206: hibernate.properties not found
Exception in thread "main" org.hibernate.internal.util.config.ConfigurationException: Could not locate cfg.xml resource [mysql.cfg.xml]
at
org.hibernate.boot.cfgxml.internal.ConfigLoader.loadConfigXmlResource(ConfigLoader.java:53)
at org.hibernate.boot.registry.StandardServiceRegistryBuilder.configure(StandardServiceRegistryBuilder.java:165)
at org.hibernate.cfg.Configuration.configure(Configuration.java:258)
at com.javapoint.Test.main(Test.java:13)
Asked
Active
Viewed 3,855 times
-1
zero323
- 305,283
- 89
- 921
- 912
-
Possible duplicate of [how to fix the error: "INFO: HHH000206: hibernate.properties not found"?](https://stackoverflow.com/questions/19085816/how-to-fix-the-error-info-hhh000206-hibernate-properties-not-found) – zero323 Oct 27 '18 at 18:45
1 Answers
0
INFO: HHH000206: hibernate.properties not found is not error
but actual is error looks
"main" org.hibernate.internal.util.config.ConfigurationException: Could not locate cfg.xml resource [mysql.cfg.xml] at org.hibernate.boot.cfgxml.internal.ConfigLoader.loadConfigXmlResource(ConfigLoader.java:53)
EDIT:
Refer the below thread
how to fix the error: "INFO: HHH000206: hibernate.properties not found"?
greengreyblue
- 391
- 3
- 12