*org.hibernate.HibernateException: /hibernate.cfg.xml not found
put hibernate.cfg.xml in the src/main/resources
*Caused by: org.hibernate.MappingException: invalid configuration
*Caused by: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 25; Document is invalid: no grammar found.
Add this before <hibernate-configuration> tag:
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
Table doesnt exist --> Mysql table name and DAO class name should be equal
org.hibernate.MappingException: Unknown entity
check hibernate cfg file --> <mapping class="com.dvdshop.model.dao.user"></mapping>
Hibernate Error – Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: org/dom4j/DocumentException
http://www.mkyong.com/hibernate/hibernate-error-initial-sessionfactory-creation-failed-java-lang-noclassdeffounderror-orgdom4jdocumentexception/
http://www.mkyong.com/hibernate/hibernate-error-initial-sessionfactory-creation-failed-java-lang-noclassdeffounderror-orgdom4jdocumentexception/
hibernate-jpa-2.0-api-1.0.0.Final
java.lang.ClassNotFoundException : javassist.util.proxy.MethodFilter
http://www.mkyong.com/hibernate/java-lang-classnotfoundexception-javassist-util-proxy-methodfilter/
No comments:
Post a Comment