Posted: Tue Feb 22, 2022 5:19 am Post subject: Size of BAR file for JAVA flow deploy
Centurion
Joined: 19 Apr 2010 Posts: 135
Hi
I'm trying to use a JCN in a simple flow to access an Athena database.
The BAR file is created without errors.
I get an error when deploying my flow:
Code:
BIP4517E: An exception was issued when an instance of Java class xyz was being created for JCN zzz. The stack trace of the exception is: Frame : 0 java.lang.Instantiation exception: <class name>.
From that, I think it's clear that it can't find the class xyz that I've created. The BAR file is also suspiciously small (7kB).
Although I've done a lot of ESQL BAR files, this is my first venture into BARs for JCNs.
In the Java Build Path for the Java project, I have included all (I think) the External JARS needed for the imports in the JCN code under the Libraries tab. But these JARs alone are much bigger than 7kB.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum