java使用mysql java.lang.ClassNotFoundException: “com.mysql.cj.jdbc.Driver“

https://stackoverflow.com/questions/30651830/use-jdbc-mysql-connector-in-intellij-idea

It’s easy to configure. First just open the IntelliJ IDE and follow this simple step:

File->Project Structure->Libraries

Then click on the plus(+) sign and select 对应的jar文件即可

你可能感兴趣的:(java,mysql,开发语言)