String databasePath = "jdbc:ucanaccess://C:/Desktop/MyDB.accdb" \\\\ this works
String databasePath= "jdbc:ucanaccess://servername/etc/MyDB.accdb" \\\\ does not work and throws no suitable driver foundString databasePath
我有一个使用JDBC、FirebirdSQL和Java 8的Maven控制台应用程序,根据规范,不再需要添加类注册,因此对行Class.forName("org.firebirdsql.jdbc.FBDriver");进行了注释,但是当我运行项目时,我得到了错误:No suitable driver found for jdbc:firebirdsql://localhost/database,但是如果我取消对该行的注释
我的研究表明,P6Spy看起来很棒,我下载了它,在我的库中添加了P6Spy.jar作为依赖项,修改到spy.properties文件以连接到使用oracle驱动程序作为realdriver,将spy.properties添加到我的类路径中,并在代码中将驱动程序更改为"com.p6spy.engine.spy.P6SpyDriver“。com.p6spy.engine.logging.appender.FileLogger
1374244954579|-1||info||No value in environment for: getRealdriv