Hi,
I have upgraded Hibernate Framework from v3.x to v 5.2.12 in our application. During the server startup process, I am facing below error:
Error creating bean with name ‘factory’ defined in ServletContext resource [/WEB-INF/dummy-path/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.boot.InvalidMappingException: Could not parse mapping document: TEST.hbm.xml (FILE)
This file was getting parsed perfectly fine till older version, However all of a sudden it is showing error as Could not parse mapping document.
Doctype of the document is:
class element has child tags in below order:
-meta attribute=“sync-DAO”
-meta attribute=“extends”
-5 property tags
-many-to-one with lazy attribute =false and not-found=“ignore”
-set with inverse=“true” and one-to-many nested in this set tag.
Not sure why this error is popping up.
Any help is highly appreciated.
Thanks in Advance,
Shriniwas