Dig & Dig

dig,dig,dig, why not? (캐고 또 캐고! )

[STS] [MacOS] com.mysql.jdbc.Driver’. This is deprecated.

com.mysql.jdbc.Driver’. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver’.

The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.

 

 

Jdbc 적어줄때 오류가 나는 경우.

 

해결

1
2
 
private static final String DRIVER = "com.mysql.cj.jdbc.Driver";

끝.

물론, 다른 에러가 날테지 ㅋㅋ

공유하기:

  • 인쇄
  • Facebook
  • 트위터
  • 구글
  • 전자우편
  • LinkedIn
  • Telegram

관련

하고 싶은 말 있으면 냉큼 쓰고 갈 것. 응답 취소

  • Android
  • AWS
  • Bootstrap
  • CentOS
  • Elasticsearch
  • Excel
  • GitLab
  • jQuery
  • Linux
  • Markdown
  • Memcached
  • Mysql
  • Postgresql
  • Python
  • Ruby
  • Ubuntu
  • VirtualBox
  • Windows
  • WordPress

Tags

CentOS CentOS 7 CentOS7 django Docker elasticsearch ErrorCode Excel gitlab Install python3 java linux MariaDB memcached mysql postgres postgresql python python3 Query repcached ruby STS telnet ubuntu vi vim VirtualBox wordpress 객체지향 네트워크 루비 리눅스 맴캐시 버추얼박스 엑셀 엑셀 팁 우분투 워드프레스 자바 자바 객체지향 테마 테마만들기 파이썬 파이썬3
크리에이티브 커먼즈 라이선스
이 저작물은 크리에이티브 커먼즈 저작자표시-비영리-동일조건변경허락 4.0 국제 라이선스에 따라 이용할 수 있습니다.
COPYRIGHT Dig & Dig , ALL RIGHT RESERVED. SKIN BY GYU7E
loading 취소
글이 전송되지 않았습니다. 이메일 주소를 확인하세요!
이메일 확인에 실패했습니다. 다시 시도하세요
죄송합니다. 귀하의 블로그에서 이메일로 글을 공유할 수 없습니다.