首页上一页 1 下一页尾页 1 条记录 1/1页
《java项目开发实例自学手册》中Webole遇到的问题
发表在Java图书答疑
2009-09-25
是否精华
是
否
版块置顶:
是
否
java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driver
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:66)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
上面是错误提示,我依按说明书上一步一步配置,只在创建sql server类库时没有成功,不过代码中没有错误,运行时出现错误,主页只显示背景颜色.
org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driver
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:66)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
上面是错误提示,我依按说明书上一步一步配置,只在创建sql server类库时没有成功,不过代码中没有错误,运行时出现错误,主页只显示背景颜色.