Bonjour, je programme une petite application en spring boot java sur intellij avec la base h2.
Dans mon fichier application.properties je configure l'accès à H2
pour l'instant j'ai l'erreur suivante (je travaille sur MAC)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9spring.jpa.defer-datasource-initialization=true spring.datasource.url=jdbc:h2:file:/data/demo spring.datasource.driverClassName=org.h2.Driver spring.jpa.database-platform=org.hibernate.dialect.H2Dialect spring.datasource.username=sa spring.datasource.password=password spring.sql.init.mode=always
j'aimerais aussi configurer la base sur H2 dans Intellij
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 Error while creating file "/data" [90062-240] Caused by: java.nio.file.FileSystemException: /data: Read-only file system
voici un printscreen
![]()








Répondre avec citation
Partager