Skip to content
Isaac Muturi edited this page May 20, 2017 · 1 revision

SuperJDBC Am getting this error on migration of model I just created run: CREATE TABLE users (id int(10) UNSIGNED AUTO_INCREMENT, foreign keys [], created_at datetime, updated_at datetime, primary key(id)ENGINE = InnoDB Exception in thread "main" java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String at com.jsip.database.controllers.SuperController.createTable(SuperController.java:398) at com.jsip.database.models.SuperModel.migrate(SuperModel.java:94) at com.jsip.appdata.User.main(User.java:21) C:\Users\ISAAC MUTURI\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1 BUILD FAILED (total time: 15 seconds)

Clone this wiki locally