I was too hasty to post. I recreated the project and it indeed works out of the box. Thanks.
On Tuesday, May 29, 2012 10:05:23 AM UTC+2, Thomas Mueller wrote: > > Hi, > > Sorry but I can't tell what's wrong, it works for me. I guess the driver > is not in the classpath for some reason in your case, but I can't say why. > > Android is supported. > > Regards, > Thomas > > > > > On Wednesday, May 23, 2012, Maciej Kacper Jagiełło wrote: > >> Tried to setup a basic android project with H2, but the driver fails to >> load due to build errors. >> Tried all jar flavors (jar, jarSmall and jarAndroid) of the following >> versions: 1.3.165 (stable?), 1.3.166 and 1.3.167. >> All failed to load the driver class with "ClassNotFoundException: >> org.h2.Driver". The classfile is in the jar, the build script did not show >> any errors and I'm 100% sure the .jar is referenced correctly on the >> classpath and in the lib directory. >> >> Is there a working build? >> >> Is android supported or should it not be used yet in production? >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/h2-database/-/VTQQhrpMLEsJ. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/h2-database?hl=en. >> > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/bO4pfB4UHuYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
