java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_101]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_101]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_101]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_101]
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_101]
at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_101]
at com.zzg.mybatis.generator.util.DbUtil.getTableNames(DbUtil.java:32) ~[mybatis-generator-gui.jar:na]
at com.zzg.mybatis.generator.controller.MainUIController.lambda$null$4(MainUIController.java:132) ~[mybatis-generator-gui.jar:na]
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) ~[jfxrt.jar:na]
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) ~[jfxrt.jar:na]
我是在Mac 下 执行了 “ 1. git clone https://github.com/astarring/mybatis-generator-gui
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_101] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_101] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_101] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_101] at java.lang.Class.forName0(Native Method) ~[na:1.8.0_101] at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_101] at com.zzg.mybatis.generator.util.DbUtil.getTableNames(DbUtil.java:32) ~[mybatis-generator-gui.jar:na] at com.zzg.mybatis.generator.controller.MainUIController.lambda$null$4(MainUIController.java:132) ~[mybatis-generator-gui.jar:na] at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) ~[jfxrt.jar:na] at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) ~[jfxrt.jar:na]