academia-digital
academia-digital copied to clipboard
problemas para configurar o projeto para Mysql
Estou tentandoi configurar o projeto para o Mysql mudando o aplication.properties:
server.port=8080 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/academia?useTimezone=true&serverTimezone=UTC useTimezone=true&serverTimezone=UTC spring.datasource.username= **** spring.datasource.password=******* spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true
e adicionei a dependencia no pom:
mas aparece o seguinte erro: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0...
tentei todas as possibilidades possíveis do Stack mas nada surtiu efeito Alguém, por favor, tem a solução?
Talvez te ajude @DeniseMelo
https://github.com/cami-la/academia-digital/issues/12#issuecomment-1198544110
Caso não, me dá um retorno. 😉