반응형
Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl 오류
Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl 에러 자꾸 뜸 근데 뒤에 url 이름이 내가 설정한 maria db url이 아님 내가 사용하는 profile : real application-real-db-properties에 database..
mchch.tistory.com
https://dev-yujji.tistory.com/49
Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
Spring boot에 JPA 연동하는데 'Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set' 라는 에러가 나왔다. 무엇이 잘못인가 하니 application-properties에 어떤 DB를 사용하는지..
dev-yujji.tistory.com
application.properties
server.port = 8090
spring.jpa.database = mysql
spring.datasource.driver-class-name = org.mariadb.jdbc.Driver
spring.datasource.username = root
spring.datasource.password = 1111
spring.datasource.url = jdbc:mariadb://localhost:3306/board
spring.jpa.hibernate.ddl-auto=create-drop
dependencies
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation group: 'org.javassist', name: 'javassist', version: '3.15.0-GA'
}
그냥 계속 구글링해서 추가추가 되든 안되든 막하니까 되더라
아 진짜 자바스프링 .....
반응형
'Web Dev' 카테고리의 다른 글
| <img> 태그 확대 CSS (0) | 2023.01.26 |
|---|---|
| [node.js] express route 사용 방법 ! (0) | 2022.12.28 |
| [Docker] : dockerfile 작성-> image 생성 -> Container 생성 및 운영 그리고 DockerHub에 push 마무리 @@@ (0) | 2022.11.15 |
| REACT.JS 웹앱만들기.no1 (0) | 2022.07.18 |
| Node.js -web : sanitize-html (0) | 2022.05.02 |
| Node.js-App 제작-입력정보에 대한 보안 (path .parse(path)) (0) | 2022.05.02 |