A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

ERROR: HHH000319: Could not get database metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196])

How to Handle Error :- ERROR: HHH000319: Could not get database metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196])

I am getting error while making project: ERROR: HHH000319: Could not get database metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196])

There are following steps to solve the error and Exception code:



This is the problem while you are using Spring and Hibernate with H2 Database. you'll be doing same like below:

I have deleted the H2 database configuration from windows user

Remove the following file:


.h2.server.properties
.MV
and
.trace files
Folder location is C:\Users\HEERABABU

LEARN TUTORIALS

.

.