java.lang.IllegalArgumentException: one of either dataSource or dataSourceClassName must be specified

Stack Overflow | Manuel Jordan | 2 years 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

    Hikaricp with Hibernate and MySql: one of either dataSource or dataSourceClassName must be specified

    Stack Overflow | 2 years ago | Manuel Jordan
    java.lang.IllegalArgumentException: one of either dataSource or dataSourceClassName must be specified

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      one of either dataSource or dataSourceClassName must be specified

      at com.zaxxer.hikari.AbstractHikariConfig.validate()
    2. HikariCP-java6
      HikariConnectionProvider.configure
      1. com.zaxxer.hikari.AbstractHikariConfig.validate(AbstractHikariConfig.java:747)
      2. com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:73)
      3. com.zaxxer.hikari.hibernate.HikariConnectionProvider.configure(HikariConnectionProvider.java:80)
      3 frames