I am trying to connect to the mySQL database from my Spring Boot application. However it is showing error when I am trying to run it.
How can I resolve this?
Th
It can be related to bad @annotations. Post your entity class to re-check. Anyhow add the below line in your property file:
@annotations
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver