I’m trying to include Azure Service Bus in a project and eventually I stumbled here: Azure Service Bus SDK for Java | Microsoft Learn.
After including it in build.gradle (as in here) I noticed I can build and deploy the app, but the build crashes in our pipeline.
I tried also with “include” (and “compile”), which finished building the app, but gives “java.lang.NoClassDefFoundError: com/azure/messaging/servicebus/ServiceBusClientBuilder”.
I took a reading this weekend and indeed it seems that can be helpful. Probably because I’m new at it, but I had a hard time trying to get it all to work as it has async/await. I still didn’t manage to do it, so perhaps I’ll set up a conventional webpack piece only to bundle the module
Did you manage to get a module with promises working as well?
Ah, yes. Using Java was, in fact, my first shot. I was having some issues with it, though, but perhaps I’m just missing something.
I’m following the Microsoft’s example for sending a messages batch and the suggestion for gradle, with “implementations”. The issue is that I then get a “java.lang.NoClassDefFoundError”. Using include I get a build error.