| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| here is the following code i get these error mysql database is not been reconsied could any one help me <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory name="SessionFactory"> <property name="hibernate.connection.driver_class">com.**mys ql.jdbc.Drive*r*</property> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/dinesh </property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password">cmc</property> <property name="hibernate.connection.pool_size">10</property> <property name="dialect">org.hibernate.dialect.MySQLDialect</property> <property name="hibernate.hbm2ddl.auto">update</property> <mapping resource="contact.hbm.xml"/> </session-factory> </hibernate-configuration> the error is C:\Documents and Settings\cmc1\IdeaProjects\ramki\src\hibernate.cfg .xml Error:Error:line (7)Cannot resolve class 'Driver'. Error:Error:line (7)Cannot resolve class or java package 'jdbc'. Error:Error:line (7)Cannot resolve class or java package 'mysql'. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.