Home > Back-end >  Mybatis error for bosses to solve
Mybatis error for bosses to solve

Time:10-28



Org. Mybatis
Mybatis & lt;/artifactId>
3.4.2 & lt;/version>


Log4j & lt;/groupId>
Log4j & lt;/artifactId>
1.2.12 & lt;/version>


Mysql
Mysql connector - java
5.1.30 & lt;/version>



Mybatis code with 3.4.2 can run but 2.6.2 complains bosses to overcome
The Exception in the thread "main" Java. Lang. AbstractMethodError: Method of com/mysql/JDBC ResultSet. IsClosed (Z) this is an error code

CodePudding user response:

Mybatis -- 3.5.2 need mysql connector - Java - 5.1 x version above, so you see I can download a higher version of mysql installation

CodePudding user response:

Is to reinstall the database?

CodePudding user response:

The
reference 2 floor? _? Zs response:
is to reinstall the database?

Upstairs mean change the mysql JDBC driver package, drive packages, of course, also have to corresponding to the corresponding version of the mysql database.

According to your schedule doesn't this all look not to understand...

CodePudding user response:

reference maradona1984 reply: 3/f
Quote: refer to the second floor? _? Zs response:
is to reinstall the database?

Upstairs mean change the mysql JDBC driver package, drive packages, of course, also have to corresponding to the corresponding version of the mysql database.

According to your schedule doesn't this all look not to understand...


Yes, the very basics of mysql JDBC driver package all don't know, whether to fit directly starting from the framework, such as a JDBC connection we do have a yourself a few steps
  • Related