the idea cannot resolve java.sql.* symbole,below is i find problem.i install jdk with 1.8.0_181.
i have already tried using below actions. file->invalidate cache /restart,But the problem still exists
You need to add mysql dependency to your project. If you are using the maven project, gradle ,sbt use this link and add it into your project.
If you are not using any of this above download mysql-connector-java jar manually and add it in class path. you can download jar from here https://www.mysql.com/products/connector/