You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to use the 'qds-sdk-java' maven dependency in my Spring-Boot application. But I keep running into the following error when InvokableBuilder.invoke() method to run a query in qubole.
java.lang.IllegalStateException: InjectionManagerFactory not found.
at org.glassfish.jersey.internal.inject.Injections.lambda$lookupInjectionManagerFactory$0(Injections.java:98)
at org.glassfish.jersey.internal.inject.Injections$$Lambda$988/000000007A83F720.get(Unknown Source)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.glassfish.jersey.internal.inject.Injections.lookupInjectionManagerFactory(Injections.java:98)
at org.glassfish.jersey.internal.inject.Injections.createInjectionManager(Injections.java:68)
at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:432)
at org.glassfish.jersey.client.ClientConfig$State$$Lambda$978/000000005992E220.get(Unknown Source)
at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:341)
at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:826)
at org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:285)
at org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:143)
at org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:112)
at org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:108)
at org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:99)
at org.glassfish.jersey.client.JerseyInvocation$AsyncInvoker.method(JerseyInvocation.java:740)
at com.qubole.qds.sdk.java.details.QdsClientImpl.invokePreparedRequest(QdsClientImpl.java:163)
at com.qubole.qds.sdk.java.details.QdsClientImpl.invokeRequest(QdsClientImpl.java:153)
at com.qubole.qds.sdk.java.details.InvocationCallbackBase.invoke(InvocationCallbackBase.java:58)
Then I get the following error during mvn clean install:
Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.2:shade (default) on project <<XYZ>>: Error creating shaded jar: error in opening zip file ~/.m2/repository/com/almworks/sqlite4java/libsqlite4java-linux-i386/1.0.392/libsqlite4java-linux-i386-1.0.392.so
Then I tried using the maven assembly plugin by removing the problematic dependencies from org.glassfish.jersey.inject.
Hi, I am trying to use the 'qds-sdk-java' maven dependency in my Spring-Boot application. But I keep running into the following error when InvokableBuilder.invoke() method to run a query in qubole.
I have tried adding the following dependencies.
But that did not help.
I even tried adding the maven shade plugin. with or without the added dependency for 'org.glassfish.jersey.inject'.
Then I get the following error during mvn clean install:
Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.2:shade (default) on project <<XYZ>>: Error creating shaded jar: error in opening zip file ~/.m2/repository/com/almworks/sqlite4java/libsqlite4java-linux-i386/1.0.392/libsqlite4java-linux-i386-1.0.392.so
Then I tried using the maven assembly plugin by removing the problematic dependencies from org.glassfish.jersey.inject.
But this gives me the original error I started with:
java.lang.IllegalStateException: InjectionManagerFactory not found.
Could you please advise?
Thanks.
The text was updated successfully, but these errors were encountered: