SpringBoot H2 | java.lang.IllegalStateException: The file is locked: nio:xxx.mv.db
问题:
SpringBoot使用H2数据库时,配置了本地文件地址,此时多个服务访问此地址,出现错误。
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-12-19 11:15:59.405 ERROR ...
原创
2019-12-19 13:55:31 ·
6610 阅读 ·
2 评论