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"; |
끝.
물론, 다른 에러가 날테지 ㅋㅋ
하고 싶은 말 있으면 냉큼 쓰고 갈 것.