I\'m trying to use hibernate with spring 3 mvc but at the moment I get this exception thrown. I think I need to define my hibernate.cfg.xml
somewhere, but not s
Even if i had hibernate.cfg.xml
under src
folder, i get
org.hibernate.HibernateException: /hibernate.cfg.xml not found
after running mvn clean install
. With Try and error i was able to resolve it by removing hibernate.cfg.xml
from src
folded and add to to somewhere else. Run the app(It is a main class in my case). During this I still get the error. and add it back to src
folder and rum the main class. It worked!