WhatsJava icon indicating copy to clipboard operation
WhatsJava copied to clipboard

sendMessage

Open wambabriand opened this issue 3 years ago • 0 comments

Hello, When I try to send a message I am having this issue:

java.lang.NoClassDefFoundError: Could not initialize class com.google.protobuf.CodedOutputStream at icu.jnet.whatsjava.encryption.proto.ProtoBuf$WebMessageInfo.getSerializedSize(ProtoBuf.java) ~[WhatsJava-v1.0.2.jar:na] at com.google.protobuf.AbstractMessageLite.toByteArray(AbstractMessageLite.java:69) ~[WhatsJava-v1.0.2.jar:na] at icu.jnet.whatsjava.messages.WAMessageBuilder.generateJson(WAMessageBuilder.java:20) ~[WhatsJava-v1.0.2.jar:na]

But 2 days before the same code was working well. Any suggestion? Other question is how can I send the picture or video ?

wambabriand avatar Sep 26 '21 16:09 wambabriand