Error on application start

First of all Congratulations team for new version. I just tried a quick start and run into below error.

Caused by: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required.
at com.zaxxer.hikari.HikariConfig.validate(HikariConfig.java:1004) ~[HikariCP-3.4.5.jar:na]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:109) ~[HikariCP-3.4.5.jar:na]
at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:313) ~[liquibase-core-3.10.3.jar:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847) ~[spring-beans-5.3.1.jar:5.3.1]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784) ~[spring-beans-5.3.1.jar:5.3.1]
… 19 common frames omitted

Hi @harikrishnadhas.k1

We face the same issue from time to time when starting an app from the IDE, but had no chance yet to reliably reproduce and find out the cause. Usually, the application starts fine next time.

Please let us know if the issue persists in certain conditions.

Regards,
Konstantin

It was starting working for me later. Thanks for your response.

Hello, when I started the project, and the result of multiple retries was the same.So, do you have a good solution now?

Hi @1505542385

Could you try to perform the following steps:

  • Click on run configuration -> Edit configurations… and remove the run configuration.
    Снимок экрана 2021-01-14 в 11.58.00
  • Click on Gradle settings in the Gradle panel.
    Снимок экрана 2021-01-14 в 12.33.54
  • Check that property Build and run using has Gradle value.
    Снимок экрана 2021-01-14 в 12.36.25
  • Go to the main navigation class and run application again.

Thank you,
Andrey Subbotin

I got it!