org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connection is not available, request timed out after 30012ms.

GitHub | enhui52125 | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 21#248769481

    GitHub | 5 months ago | cxgreat2014
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connection is not available, request timed out after 30007ms.
  2. 0

    ide.sh run 失败,错误信息如下

    GitHub | 5 months ago | enhui52125
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connection is not available, request timed out after 30012ms.
  3. 0

    jdbc driver to sqlite does not work in java

    Stack Overflow | 2 years ago | Qihong Ke
    java.sql.SQLException: path to 'localhost:3306//Database//SqliteDB0.sqlite': 'C:\Users\13149\Documents\NetBeansProjects\SqliteOpenDB\localhost:3306' does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection to Data Source SQLite failed

    Stack Overflow | 3 years ago | RCola
    java.sql.SQLException: invalid database address: jdbc://jdbc:sqlite:C:/work/sample.db
  6. 0

    Create Challenges folder automatically

    GitHub | 2 years ago | riddle
    java.sql.SQLException: path to 'plugins/Challenges/challenges.sqlite': '/home/flatcore/flatnether/plugins/Challenges' does not exist

  1. linxiaolong 9 times, last 2 months ago
  2. Juraji 2 times, last 11 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    path to '/root/.coding-ide-home/ide.db': '/root/.coding-ide-home' does not exist

    at org.sqlite.core.CoreConnection.open()
  2. SQLite JDBC
    JDBC.connect
    1. org.sqlite.core.CoreConnection.open(CoreConnection.java:192)
    2. org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76)
    3. org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:24)
    4. org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:23)
    5. org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
    6. org.sqlite.JDBC.createConnection(JDBC.java:114)
    7. org.sqlite.JDBC.connect(JDBC.java:88)
    7 frames
  3. HikariCP-java6
    HikariPool$PoolEntryCreator.call
    1. com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
    2. com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:314)
    3. com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:171)
    4. com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:436)
    5. com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:65)
    6. com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:567)
    7. com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:560)
    7 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames