728x90
반응형
오류 문구
Caused by: org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of URL [file:/경로/data.sql]: INSERT INTO article(id, title, content) VALUES (1,'가가가가','1111'); nested exception is org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "ARTICLE" not found; SQL statement:
해결 방법
application.properties 파일에 다음 문구를 추가... 해결 ㅎㅎㅎ
spring.jpa.defer-datasource-initialization=true
728x90
반응형
'IDE & Tools > Intelij' 카테고리의 다른 글
InteliJ에서 AWS CodeCommit 연동하기 (0) | 2022.06.03 |
---|---|
No tests found for given includes: [com.example.firstproject.service.ArticleServiceTest.index](--tests filter) (0) | 2022.04.06 |
Intelij 한글이 깨져서 출력 될때 (0) | 2022.04.04 |
[Error] Intellij Spring 'Could not find or load main class' Caused by 'java.lang.ClassNotFoundException' (0) | 2022.04.02 |
IntelliJ와 GitHub 연동하기 (0) | 2021.11.21 |