title: Spring Boot DataSource: 'url' attribute is not specified
body: <p>I am trying to follow this guide
  <a href="https://spring.io/guides/gs/accessing-data-mysql/" rel="noreferrer">https://spring.io/guides/gs/accessing-data-mysql/</a></p>
  <p>but this guide is for the maven and i am trying the gradle</p>
  <p>and getting this error</p>
  <pre><code>
  Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
  
  Reason: Failed to determine a suitable driver class
  </code></pre>
  <p>in application.properties i have these things only.</p>
  <pre><code>spring.datasource.url=jdbc:mysql://localhost:3306/db_example
  spring.datasource.username=root
  spring.datasource.password=root
  spring.jpa.hibernate.ddl-auto=update
  spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  
  </code></pre>
  <p>I tried all the possible things there is on the SO.</p>
  <p>the only deps i have are these</p>
  <pre><code>dependencies {
      implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
      implementation 'org.springframework.boot:spring-boot-starter-web'
      runtimeOnly 'mysql:mysql-connector-java'
      testImplementation('org.springframework.boot:spring-boot-starter-test') {
          exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
      }
  }
  </code></pre>