그치 바로되면 재미없지
실행할때마다 디비주소?가 바뀌기때문에 고정시켜줘야됨?
application.properties에
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.url=jdbc:h2:mem:testdb
이 두 줄 추가
'공부 > 스프링 부트와 AWS로 혼자 구현하는 웹서비스' 카테고리의 다른 글
[이동욱스프링책]java.lang.AssertionError:, mustache 한글 (0) | 2023.07.17 |
---|---|
[이동욱스프링책]java.lang.Exception: No tests found matching Method Posts (0) | 2023.07.16 |
[이동욱스프링책]assertThat (0) | 2023.07.16 |
[이동욱스프링책]import import jakarta.persistence.Entity; import javax.persistence.Entity; (0) | 2023.07.16 |
[이동욱스프링책]mvc.perform(get("/hello")).andExpect(status().isOk()).andExpect(content().string(hello)); 오류 (0) | 2023.07.12 |