You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Nishkam Ravi <ni...@gmail.com> on 2020/02/25 06:16:29 UTC
Embedded Ksql and Janino
We are running into a curious problem with KSQL 5.3.0. When
ksql-engine-5.3.0 is included as a dependency in ServiceX, the following
error message shows up with "java -jar ServiceX.jar": "Could not find or
load main class".
We found that this is because of janino-3.0.7 (when excluded, the error
message goes away).
Is it possible to build a Janino-free version of Ksql-5.3.0 or some other
way to work around this problem? Any help would be appreciated.
Thanks,
Nishkam
Re: Embedded Ksql and Janino
Posted by Jörn Franke <jo...@gmail.com>.
Shade it into your application .
> Am 25.02.2020 um 07:16 schrieb Nishkam Ravi <ni...@gmail.com>:
>
> We are running into a curious problem with KSQL 5.3.0. When
> ksql-engine-5.3.0 is included as a dependency in ServiceX, the following
> error message shows up with "java -jar ServiceX.jar": "Could not find or
> load main class".
> We found that this is because of janino-3.0.7 (when excluded, the error
> message goes away).
>
> Is it possible to build a Janino-free version of Ksql-5.3.0 or some other
> way to work around this problem? Any help would be appreciated.
>
> Thanks,
> Nishkam