Your proto file in the link looks incomplete. Have you checked the outer class name option? https://developers.google.com/protocol-buffers/docs/reference/java-generated#invocation
On Tue, May 8, 2012 at 12:25 AM, Kasper Revsbech <[email protected]>wrote: > Hi all > I have a mind wrapping problem using protocol Buffers on Android. > I among other commands defined a request in my .proto file: > http://pastebin.com/B4htQeRm > > In my communication I do as follows: > > Protocol.request.Builder r = Protocol.request.newBuilder(); > > However on run time I get the error: > java.lang.NoClassDefFoundError dk.revsbech.client.Protocol$request > > I have now trie with at bunch of jar files both pre compiled and manually > compiled both with and withouut Maven, both with and without the > LITE_RUNTIME optimization. > However I keep getting the runtime error. > > Tanks in advance > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/protobuf/-/MAzfYhJy8PMJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
