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

Stack Overflow | Manuel Jordan | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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