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
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/d0f6677d-f367-4ed8-bcc8-9c2982ee0f57%40googlegroups.com.