문제

I try to install Walkaround, a project based on Google Wave. I followed the official wiki for installation.

But during the last step (./runant run), I've 100 errors:

Proto.java:7: package com.google.protobuf does not exist
      com.google.protobuf.ExtensionRegistry registry) {
                         ^
Proto.java:12450: package com.google.protobuf.Descriptors does not exist
  private static com.google.protobuf.Descriptors.Descriptor
                                                ^
Proto.java:12453: package com.google.protobuf.GeneratedMessage does not exist
    com.google.protobuf.GeneratedMessage.FieldAccessorTable

...
...
100 errors

Similar topic: Problems using protobufs with java and scala. So I try this solution after searching a proto.jar and the Proto.java:

javac -cp 
    ~/walkaround/third_party_src/wave/trunk/dist/proto.jar
    ~/walkaround/proto_src/com/google/walkaround/proto/Proto.java

But I get the same 100 errors.

Someone can help me? I have no knowledge about Ubuntu Linux and Java environment.

도움이 되었습니까?

해결책

I had the same problem. The reason on my Project was that ./get-third-party-deps failed. That was fixed by installing build-essential on my ubuntu machine

sudo apt-get install build-essential
./get-third-party-deps

다른 팁

You may jar xf proto.jar to see if those classes are in the jar.

If there is anything wrong, you may get it from http://code.google.com/p/protobuf/source/checkout

It contains c and java source code, you need java parts.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top