I am working on a spring and hibernate web application MySQLDialect not found -


when deploy shows following error

caused by: org.springframework.beans.factory.beancreationexception: not autowire field: private org.hibernate.sessionfactory com.quad.dao.roledaoimpl.sessionfactory; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory' defined in servletcontext resource [/web-inf/mvc-dispatcher-servlet.xml]: invocation of init method failed; nested exception org.hibernate.hibernateexception: dialect class not found: org.hibernate.dialect.mysqldialect 

but have hibernate jar file in lib folder.i dont understand why giving error.

you not have hibernate jar file in classpath. add jars classpath , clean build.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -