Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 09:53:55 +0000



Failure when compiling google protoc-buffer

View Count: 725

[2017-10-12 15:30:38]
User178540 - Posts: 15
Hello,

I am trying to complie the google protoc buffer for JAVA using MAVEN (in order to genrate JAVA class from the .proto file):

I have downloaded version 3.4.0, and also the protoc.exe file with version 3.4.0.
both mvn test & mvn install ends with several failures,

Thanks!
------------------------------------------------------------------------

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[33,34] cannot find symbol
symbol: class UnittestLite
location: package com.google.protobuf
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[33,1] static import only from classes and interfaces
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[34,34] cannot find symbol
symbol: class UnittestLite
location: package com.google.protobuf
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[34,1] static import only from classes and interfaces
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[35,34] cannot find symbol
symbol: class UnittestLite
location: package com.google.protobuf
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[35,1] static import only from classes and interfaces
[ERROR] /C:/work/proto/3.4.0/protobuf-3.4.0/java/core/src/test/java/com/google/protobuf/TestUtil.java:[36,34] cannot find symbol
symbol: class UnittestLite

----------------------------------------------------------------
Date Time Of Last Edit: 2017-10-12 15:32:52
[2017-10-12 17:26:56]
Sierra Chart Engineering - Posts: 104368
Make sure you are compiling this particular file:
http://dtcprotocol.org/DTC_Files/DTCProtocol.proto

All of these error messages relate to code outside of the protocol buffer file linked above. We have no idea what the problem is. We recommend running an Internet search for these particular messages.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account