数据库被占用
"E:\Program Files\Java\jdk-11\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:24565,suspend=y,server=n -javaagent:C:\Users\miao\.IntelliJIdea2018.2\system\captureAgent\debugger-agent.jar=file:/C:/Users/miao/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath "C:\Users\miao\IdeaProjects\jdbc_imooc\out\production\jdbc_imooc;C:\Users\miao\IdeaProjects\jdbc_imooc\lib\org.osgi.core-6.0.0.jar;F:\软件\IntelliJ IDEA 2018.2.6\lib\idea_rt.jar" com.imooc.db.DBUtil
Connected to the target VM, address: '127.0.0.1:24565', transport: 'socket'
Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at com.imooc.db.DBUtil.main(DBUtil.java:16)
Disconnected from the target VM, address: '127.0.0.1:24565', transport: 'socket'
Process finished with exit code 1