报一个SQL驱动包没有这个错误?
但是我SQLJDBC确确实实导入进去了
10:42:22,734 ERROR SchemaExport:202 - schema export unsuccessful
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:28)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:180)
at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)
at com.bjsxt.hibernate.ExportDB.main(ExportDB.java:15)
那位大哥可以帮我回答一下谢谢了
------解决方案--------------------
把hibernate.cfg.xml贴出来,估计是配置少了...
java.sql.SQLException: No suitable driver
是不没配置驱动啊?