Ola pessoal
Estou usando o hibernate 2.1 com o mysql mas esta dando um problema ele diz que não esta achando o driver, mas ja configurei todos os classpaths e mesmo assim ela diz que não achou:
004-06-12 17:48:26,531 INFO hibernate.cfg.Environment -> Hibernate 2.1.1
2004-06-12 17:48:26,531 INFO hibernate.cfg.Environment -> loaded properties from resource hibernate.properties: {hibernate.connection.username=root , hibernate.connection.password="", hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost:3306/cadastro , hibernate.connection.driver_class=com.mysql.jdbc.Driver }
2004-06-12 17:48:26,546 INFO hibernate.cfg.Environment -> using CGLIB reflection optimizer
2004-06-12 17:48:26,546 INFO hibernate.cfg.Configuration -> Mapping resource: Clientes.hbm.xml
2004-06-12 17:48:29,218 INFO hibernate.cfg.Binder -> Mapping class: Clientes -> clientes
2004-06-12 17:48:29,390 INFO hibernate.cfg.Configuration -> processing one-to-many association mappings
2004-06-12 17:48:29,390 INFO hibernate.cfg.Configuration -> processing one-to-one association property references
2004-06-12 17:48:29,390 INFO hibernate.cfg.Configuration -> processing foreign key constraints
2004-06-12 17:48:29,421 INFO hibernate.dialect.Dialect -> Using dialect: net.sf.hibernate.dialect.MySQLDialect
2004-06-12 17:48:29,421 INFO hibernate.cfg.SettingsFactory -> Use outer join fetching: true
2004-06-12 17:48:29,437 INFO hibernate.connection.DriverManagerConnectionProvider -> Using Hibernate built-in connection pool (not for production use!)
2004-06-12 17:48:29,453 INFO hibernate.connection.DriverManagerConnectionProvider -> Hibernate connection pool size: 20
2004-06-12 17:48:29,453 FATAL hibernate.connection.DriverManagerConnectionProvider -> JDBC Driver class not found: com.mysql.jdbc.Driver
net.sf.hibernate.HibernateException: JDBC Driver class not found: com.mysql.jdbc.Driver
at net.sf.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:58)
at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:64)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1091)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:737)
at ClientesDAO.<init>(ClientesDAO.java:12)
at UsaClientes.main(UsaClientes.java:15)
gostaria de saber o que poder ser, estou usando o eclipse, mas ja inclui os jar’s no projeto mas mesmo assim ele não acha o driver do mysql.