Home > Back-end >  Android link MySQL load JDBC has been failure, strives for the big help!!!!!!
Android link MySQL load JDBC has been failure, strives for the big help!!!!!!

Time:01-07

Has built an Android project in eclipse, then opened up a new thread in oncreate mainActivity inside to link the mysql, but JDBC loading has been failure, online solution try again is useless, hair in the Java project is possible, in the thread is not line, other parts of the thread running, a thread of writing I think it's right, just don't know why can't a JDBC has been loaded, please help to see


CodePudding user response:

Confirm project includes mysql JDBC package

CodePudding user response:

Import the jar package

CodePudding user response:

reference 1st floor tianfang response:
confirm project includes mysql JDBC package

Import the jar package

CodePudding user response:

Class.forname is an error, the mysql Driver couldn't find how ClassNotFound which Class

CodePudding user response:

The jar package version problem, cj. Driver version 6 above
  • Related