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
Ok I've been trying to figure this out but I just cannot, so I have to come here to ask for help.
I'm basically just playing around trying to understand how everything works. About a week ago, I could send a text message (this is when I was using Maven). Now I have downloaded the JAR file and added to my referenced libraries, running the exact same code and it won't send the text message.
Here is the error: Exception in thread "main" java.lang.NoClassDefFoundError: retrofit2/Converter$Factory at com.whatsapp.api.impl.WhatsappBusinessCloudApi.<init>(WhatsappBusinessCloudApi.java:40) at com.whatsapp.api.WhatsappApiFactory.newBusinessCloudApi(WhatsappApiFactory.java:45) at WhatsApp.WhatsApp.main(WhatsApp.java:17) Caused by: java.lang.ClassNotFoundException: retrofit2.Converter$Factory at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 3 more
Here is my code:
` public static void main(String[] args) {
Ok I've been trying to figure this out but I just cannot, so I have to come here to ask for help.
I'm basically just playing around trying to understand how everything works. About a week ago, I could send a text message (this is when I was using Maven). Now I have downloaded the JAR file and added to my referenced libraries, running the exact same code and it won't send the text message.
Here is the error:
Exception in thread "main" java.lang.NoClassDefFoundError: retrofit2/Converter$Factory at com.whatsapp.api.impl.WhatsappBusinessCloudApi.<init>(WhatsappBusinessCloudApi.java:40) at com.whatsapp.api.WhatsappApiFactory.newBusinessCloudApi(WhatsappApiFactory.java:45) at WhatsApp.WhatsApp.main(WhatsApp.java:17) Caused by: java.lang.ClassNotFoundException: retrofit2.Converter$Factory at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 3 more
Here is my code:
` public static void main(String[] args) {
The text was updated successfully, but these errors were encountered: