gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Failure to Compile gora-cassandra After clean ~/.m2 cache
Date Wed, 24 Apr 2013 03:48:32 GMT
I've been messing in Eclipse and this has now vanished. I have no idea
where it came from!


On Tue, Apr 23, 2013 at 7:50 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Hi All,
> When I cleaned my ~/.m2 cache the other day to test a release for another
> project, I came back to Gora trunk and get the following
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.007s
> [INFO] Finished at: Tue Apr 23 19:48:50 PDT 2013
> [INFO] Final Memory: 38M/477M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project gora-cassandra: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java:[175,26]
> error: cannot access HColumn
> [ERROR] class file for HColumn not found
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java:[199,28]
> error: cannot access HSuperColumn
> [ERROR] class file for HSuperColumn not found
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:[97,50]
> error: cannot access Serializer
> [ERROR] class file for Serializer not found
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:[120,109]
> error: incompatible types
> [ERROR] List<ColumnFamilyDefinition>
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:[197,17]
> error: cannot access Mutator
> [ERROR] class file for Mutator not found
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:[220,17]
> error: no suitable method found for
> insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K#1>,K#1,String,String,ByteBuffer,ByteBuffer)
> [ERROR]
> [ERROR] K#1 extends Object declared in class CassandraClient
> [ERROR] K#2 extends Object declared in method
> <K#2>insertSubColumn(Mutator<K#2>,K#2,String,String,Integer,ByteBuffer)
> [ERROR] K#3 extends Object declared in method
> <K#3>insertSubColumn(Mutator<K#3>,K#3,String,String,String,ByteBuffer)
> [ERROR] K#4 extends Object declared in method
> <K#4>insertSubColumn(Mutator<K#4>,K#4,String,String,ByteBuffer,ByteBuffer)
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:[246,17]
> error: method deleteSubColumn in class HectorUtils<K#3,T> cannot be applied
> to given types;
> [ERROR]
> [ERROR] K#1 extends Object declared in method
> <K#1>deleteSubColumn(Mutator<K#1>,K#1,String,String,ByteBuffer)
> [ERROR] K#2 extends Object declared in class CassandraClient
> [ERROR] K#3 extends Object declared in class HectorUtils
> [ERROR] T extends Persistent declared in class HectorUtils
> [ERROR]
> /home/law/Downloads/asf/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:[318,67]
> error: incompatible types; no instance(s) of type variable(s) T exist so
> that Serializer<T> conforms to me.prettyprint.hector.api.Serializer
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :gora-cassandra
>
> Any ideas on this one? I've never this before.
>
> Thanks
> Lewis
>
> --
> *Lewis*
>



-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message