I'm trying to use messagepack to send data back and forth between an Arduino and a Java application, and I am having trouble setting up the java implementation of messagepack: msgpack-java ( https://github.com/msgpack/msgpack-java/wiki/QuickStart )
I didn’t want to create the whole library myself, so I used v0.6.8 from here .
The sample code compiles successfully, but at runtime I get
java.lang.NoClassDefFoundError: javassist/ClassPath
specially on line
MessagePack msgpack = new MessagePack();
I tried just building the msgpack jar myself, but I got compilation errors in the source code because it lacks javassist packages. I don’t know where to get the right packages, and, unfortunately, the developers do not mention this in the documentation. I could not find the comment section on my page, so I was hoping that someone here could help me get msgpack to work.
I also addressed this issue ( Using MessagePack with Android ), but it was not entirely clear where I can get the libraries that I need.
source
share