
Я также собираюсь поделиться с вами моим pom.xml и моим application.properties. Я пытаюсь решить эту проблему уже 2 дня, но не могу найти решение. Я надеюсь, что вы можете мне помочь. Огромное спасибо.
pom.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.7.0
com.projetspring.meriem
projet-spring-react
0.0.1-SNAPSHOT
ecommerce-backend
projet spring react
11
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-data-rest
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-devtools
runtime
true
com.h2database
h2
runtime
org.projectlombok
lombok
true
org.springframework.boot
spring-boot-starter-test
test
mysql
mysql-connector-java
runtime
org.springframework.boot
spring-boot-maven-plugin
org.apache.maven.plugins
maven-compiler-plugin
3.10.1
11
11
application.properties
# Configuración de tamaño de archivos
spring.servlet.multipart.max-file-size=500KB
spring.servlet.multipart.max-request-size=500KB
# Configuración de la base de datos para Azure
spring.datasource.url=jdbc:mysql://databasenavarra.mysql.database.azure.com:3306/ecommerce_navarra_spring?serverTimezone=UTC
spring.datasource.username=adminuserdb@databasenavarra
spring.datasource.password=Xxchalo24397xX
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# Configuración de JPA e Hibernate
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
Подробнее здесь: https://stackoverflow.com/questions/788 ... ng-project