[h2 오류해결] h2 console 접속 안될 때 접속되게 하기
원래는 주소창에
http://localhost:너님 서비스의 port 번호/h2-console/
라고 적으면 위와 같은 창이 보여야하는데
안들어가진다?
그럼 문제가 있는거임
어떻게 해결하냐??
프로젝트 서비스 폴더의
build.gradle에다가
implementation 'org.springframework.boot:spring-boot-devtools'
이게 있어야함..
dependencies 안에....
이거 넣어주니 바로됨 ㅅㄱ요
build.gradle의 dependencies 전체코드
dependencies {
implementation project(':common')
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation('org.springframework.boot:spring-boot-starter-security')
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation("com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.5.7")
implementation('org.springframework.cloud:spring-cloud-starter-netflix-ribbon')
implementation('org.springframework.retry:spring-retry:1.2.2.RELEASE')
implementation 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.1")
testImplementation("junit:junit:4.13")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.7.1")
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
Author And Source
이 문제에 관하여([h2 오류해결] h2 console 접속 안될 때 접속되게 하기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://velog.io/@tkaqhcjstk/h2-오류해결-h2-console-접속-안될-때-접속되게-하기
저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
dependencies {
implementation project(':common')
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation('org.springframework.boot:spring-boot-starter-security')
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation("com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.5.7")
implementation('org.springframework.cloud:spring-cloud-starter-netflix-ribbon')
implementation('org.springframework.retry:spring-retry:1.2.2.RELEASE')
implementation 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.1")
testImplementation("junit:junit:4.13")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.7.1")
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
Author And Source
이 문제에 관하여([h2 오류해결] h2 console 접속 안될 때 접속되게 하기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@tkaqhcjstk/h2-오류해결-h2-console-접속-안될-때-접속되게-하기저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)