浏览 9855 次
锁定老帖子 主题:关于No suitable driver
精华帖 (0) :: 良好帖 (1) :: 灌水帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-03-03
Often the answer is given that the correct driver is not loaded. This may be the case, but more typically, the JDBC database URL passed is not properly constructed. When a Connection request is issued, the DriverManager asks each loaded driver if it understands the URL sent. If no driver responds that it understands the URL, then the "No Suitable Driver" message is returned. 也就是说这个提示不一定是他的原本意思,jdbc连接不上也可能报,在自己分析jdbcurl,哈哈哈,发现了一个自己粗心造成的错误,报数据库名称的_写成-了,可怜的错误提示阿,害得我弄了那么长时间,自己坚决不能写这样的程序,否则还不挨骂阿 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |