Hi there,
I am getting this exception while creating the object of probuff generated class.
I am using java1.8 and protobuf library 3.12.2.
'java.lang.NoClassDefFoundError' exception. DeviceInfoProtos$Device$Builder.toString()
Can you please help me on this? Let me know if you need more details.
Sample Schema.
syntax = "proto3";
import "Telemetry.proto";
import "System.proto";
import "Command.proto";
import "Connectivity.proto";
package com.syncup.tmo.petbindecoder.firmware;
option java_package = "com.syncup.firmware";
option java_outer_classname = "DeviceInfoProtos";
// This is the packet that would be send/receive on both end
message Device{
System system = 1;
Telemetry telemetry = 2;
repeated Command commands = 3; // last received commands
Connectivity connectivity = 4; // available wireless connectivity and current wireless bearer
}
Thanks
Ruchika