Skip to content

jdbc connection 오류.. #1

Description

@pinest94

Spring boot 환경 build.gradle에서 아래와 같이 적어주었더니 오류.

// https://mvnrepository.com/artifact/mysql/mysql-connector-java
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.38'

-> runtimeOnly 'mysql:mysql-connector-java'으로 변경했더니 오류 해결
생각해보면, boot의 기능 중 하나가 auto configuration인데 간과하고 실수했다...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions