
hii, I have wrietten web project using jsp and hibernate but its not working.
ava.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/TEST
at java.sql.DriverManager.getConnection(DriverManager.java:604)
at java.sql.DriverManager.getConnection(DriverManager.java:190)
at org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.getConnection(DriverManagerConnectionProviderImpl.java:173)
at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
at org.hibernate.tool.hbm2ddl.DatabaseExporter.
the normal java project without server was working fine but in web project its giving above error. I have aaded mysql jar files to web-INf/lib,in project build path, in apache-tomcat/lib. still it is not working.
Please help.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.