Error
caused By:java.lang.ClassNotFoundException:com.mysql.jdbc.Driver
At Java.net.urlclassloader$1.run (Unknown Source)
At Java.net.urlclassloader$1.run (Unknown Source)
At java.security.AccessController.doPrivileged (Native Method)
At Java.net.URLClassLoader.findClass (Unknown Source)
At Java.lang.ClassLoader.loadClass (Unknown Source)
At Sun.misc.launcher$appclassloader.loadclass (Unknown Source)
At Java.lang.ClassLoader.loadClass (Unknown Source)
At JAVA.LANG.CLASS.FORNAME0 (Native Method)
At Java.lang.Class.forName (Unknown Source)
At Org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass (classloaderutil.java:38)
... Common frames omitted
===================================================
Workaround:
In the Project master directory, add the following code Build.gradle:
Runtime "mysql:mysql-connector-java:5.1.38"
"Reference" Http://stackoverflow.com/questions/33968150/grails-3-0-9-classnotfoundexception-com-mysql-jdbc-driver
grails3.1.5 Com.mysql.jdbc.Driver