Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm currently trying to export some Data to Google Bigquery.
When i now run the project the process starts at first (getting data from REST, mapping JSON Data), but when the flow comes to the BigQueryOutput i get a Security Exception during runtime (see below):
Is there any way to review/change the way classes/libs are loaded?
Exception in component tBigQueryOutput_2_tBQBE (CallOneREST_CDR_GET) java.lang.SecurityException: class "com.google.common.base.MoreObjects"'s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(Unknown Source) at java.lang.ClassLoader.preDefineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.google.auth.oauth2.ServiceAccountCredentials.<init>(ServiceAccountCredentials.java:169) at com.google.auth.oauth2.ServiceAccountCredentials.fromPkcs8(ServiceAccountCredentials.java:271) at com.google.auth.oauth2.ServiceAccountCredentials.fromJson(ServiceAccountCredentials.java:200) at com.google.auth.oauth2.ServiceAccountCredentials.fromStream(ServiceAccountCredentials.java:334) at com.google.auth.oauth2.ServiceAccountCredentials.fromStream(ServiceAccountCredentials.java:306) at callone_cdr_get.callonerest_cdr_get_0_1.CallOneREST_CDR_GET.tRESTClient_1Process(CallOneREST_CDR_GET.java:2849) at callone_cdr_get.callonerest_cdr_get_0_1.CallOneREST_CDR_GET.tLoop_1Process(CallOneREST_CDR_GET.java:886) at callone_cdr_get.callonerest_cdr_get_0_1.CallOneREST_CDR_GET.tJava_1Process(CallOneREST_CDR_GET.java:685) at callone_cdr_get.callonerest_cdr_get_0_1.CallOneREST_CDR_GET.tSetGlobalVar_1Process(CallOneREST_CDR_GET.java:537) at callone_cdr_get.callonerest_cdr_get_0_1.CallOneREST_CDR_GET.runJobInTOS(CallOneREST_CDR_GET.java:3329) at callone_cdr_get.callonerest_cdr_get_0_1.CallOneREST_CDR_GET.main(CallOneREST_CDR_GET.java:3178)
Update:
According to the Exception Message i copied and extracted all class files to find which one contains the "MoreObjects.class" file.
The one from google is stored in guava-20.0.jar and snowflake-jdbc-3.6.13.jar
See also Screenshots.
But now i am lost again: How can i remove one jar or at least the duplicate google package com.google.common.base?