caffe - CaffeonSpark build Error -


i trying caffeonspark running locally , have compiled , ran caffe successfully, have installed opencv, failed @ compiling caffeonspark.

the whole error stack when make build is:

[info] 60 errors  [info] ------------------------------------------------------------- [info] ------------------------------------------------------------------------ [info] reactor summary: [info]  [info] caffe .............................................. success [  0.009 s] [info] caffe-distri ....................................... failure [ 16.940 s] [info] caffe-grid ......................................... skipped [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 18.841 s [info] finished at: 2016-11-11t03:50:31+08:00 [info] final memory: 14m/92m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (compile-generator) on project caffe-distri: compilation failure: compilation failure: [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[9919,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[8280,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[5761,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[5238,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[16820,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[16649,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[12460,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[21447,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[21492,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[19484,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[19519,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[76524,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[76553,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[76744,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[74714,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[74733,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[74847,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[6716,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17197,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17622,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17672,31] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17352,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17392,24] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[24932,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[25061,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[78929,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[79022,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[79946,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[18175,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[18324,33] cannot find symbol [error] symbol:   class protocolstringlist [error] location: package com.google.protobuf [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[5655,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable input_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[6395,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable input_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[6718,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable input_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[9429,30] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable testnet_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[11676,30] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable testnet_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[12462,24] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable testnet_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[16751,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable stage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17057,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable stage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17199,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable stage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17508,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable stage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17511,32] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable notstage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17938,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable stage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[17943,32] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable notstage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[18177,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable stage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[18326,25] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable notstage_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[21274,28] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable bottom_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[21277,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable top_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[23940,28] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable bottom_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[23945,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable top_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[24934,23] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable bottom_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[25063,20] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable top_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[75951,28] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable bottom_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[75954,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable top_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[75975,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable param_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[78308,28] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable bottom_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[78313,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable top_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[78353,26] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable param_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[78931,23] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable bottom_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[79024,20] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable top_ of type com.google.protobuf.lazystringlist [error] /usr/local/caffeonspark-master/caffe-distri/src/main/java/caffe/caffe.java:[79948,22] cannot find symbol [error] symbol:   method getunmodifiableview() [error] location: variable param_ of type com.google.protobuf.lazystringlist [error] -> [help 1] [error]  [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error]  [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojofailureexception [error]  [error] after correcting problems, can resume build command [error]   mvn <goals> -rf :caffe-distri makefile:19: recipe target 'build' failed make: *** [build] error 1 

version of protobuf in system , of in caffe-distri/pom.xml file should same. entry in caffe-distri/pom.xml should if have protobuf of version 2.6.1

<dependency>         <groupid>com.google.protobuf</groupid>         <artifactid>protobuf-java</artifactid>         <version>2.6.1</version>         <scope>provided</scope> </dependency> 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -