olavloite / spanner-jdbc

JDBC Driver for Google Cloud Spanner
MIT License
38 stars 10 forks source link

#86 don't throw an exception if a column is not found #92

Closed olavloite closed 6 years ago

flascaray commented 6 years ago

@olavloite i make a build of the branch release-1_0 with 'mvn clean package -DskipTests' and when i try to use the jar file as a driver of dbeaver it throw

Caused by: java.lang.ClassNotFoundException: com.google.cloud.spanner.SpannerException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 28 more`

Is it ok how I create the build?

Thanks, Felipe.

olavloite commented 6 years ago

@flascaray mvn package will only generate a 'thin' jar without the dependencies. It's better to run mvn install

flascaray commented 6 years ago

Thanks @olavloite , now the problem is solved !!!