Bonjour,

j'ai un souci de package de maven.
lorsque j'ai cette config tout fonctionne:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=create
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
mais lorsque je demande un update il m'affiche cette erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
spring.jpa.hibernate.ddl-auto=update
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors: 
[ERROR]   DemoApplicationTests.contextLoads » IllegalState Failed to load ApplicationCon...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.883 s
[INFO] Finished at: 2019-07-14T09:39:22+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project sklt: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\aker\Documents\kod_backend\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
pourquoi cela génère cette erreur ? si vous avez une idée,
merci de vos réponses