H2 database error: Database may be already in use: “Locked by another process”

后端 未结 13 1155
时光取名叫无心
时光取名叫无心 2020-12-12 23:52

I am trying to use the H2 database from a Java application.

I created the database and its tables through the H2 Console and then I try to connect from Java using <

13条回答
  •  余生分开走
    2020-12-13 00:28

    answer for this question => Exception in thread "main" org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-161]

    close all tab from your browser where open h2 database also Exit h2 engine from your pc

提交回复
热议问题