Failed to get driver instance Failed to get driver instance spring spring

Failed to get driver instance


Your URL seems wrong. As far as I remember, it should be:

jdbc:hsqldb:hsql://localhost:9001/devel

And also, you didn't provide driver class name (org.hsqldb.jdbc.JDBCDriver).

config.setDriverClassName("org.hsqldb.jdbc.JDBCDriver");

If you are using Spring Boot 1.4, there's no need for explicit definition of data source when using HikariCP. As stated in documentation.


config.addDataSourceProperty("useSSL",false); may be useful.


As per documentation, the correct line should be

config.setJdbcUrl("jdbc:hsqldb:hsql://localhost:9001/devel");