RSS

org.h2.jdbc.jdbcsqlexception version mismatch driver version is 0 but server version is 6

29 Nov

When trying to connect H2 database, getting the below exception

org.h2.jdbc.jdbcsqlexception version mismatch driver version is 0 but server version is 6

even i have added the h2.jar file to the build path.

Here is an simple solution

First verify your h2 database version (mine is 1.3.169)

Downloaded h2-1.3.169.jar from the below site and added to the build path.

http://www.java2s.com/Code/Jar/h/Downloadh213169jar.htm

Issue got resolved.

Happy Learning!.

Get glued to know more updates.

Advertisements
 
Leave a comment

Posted by on November 29, 2014 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: