You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by Martin Harris <ma...@cloudsoftcorp.com> on 2014/05/28 19:00:40 UTC
Build error on two-dot-o
Hi Folks,
I'm getting the following build error when trying to build branch two-dot-o:
ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[24,38]
error: cannot find symbol
[ERROR] package org.apache.usergrid.persistence
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[25,44]
error: package org.apache.usergrid.persistence.Query does not exist
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[109,5]
error: cannot find symbol
[ERROR] class QueryFilterParser
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[2206,15]
error: cannot find symbol
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[109,23]
error: cannot find symbol
[ERROR] class QueryFilterParser
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[148,16]
error: cannot find symbol
[ERROR] class QueryFilterParser
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[199,16]
error: cannot find symbol
<lots more similary errors truncated...>
In my IDE (Eclipse), the QueryFilterParsers has errors on the following
lines:
import org.apache.usergrid.persistence.Query;
import org.apache.usergrid.persistence.Query.SortPredicate;
(and lots more lines)
Am I missing a couple of files?
Cheers
--
Martin Harris
Lead Software Engineer
Cloudsoft Corporation Ltd
www.cloudsoftcorp.com
Re: Build error on two-dot-o
Posted by Martin Harris <ma...@cloudsoftcorp.com>.
Thanks Dave,
For ease, I just deleted by repo and re-cloned, but now I'm getting the
following error:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpRelationManager.java:[283,59]
error: constructor SimpleSearchByEdgeType in class SimpleSearchByEdgeType
cannot be applied to given types;
[ERROR] actual argument UUID cannot be converted to long by method
invocation conversion
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpRelationManager.java:[327,16]
error: constructor SimpleSearchByEdge in class SimpleSearchByEdge cannot be
applied to given types;
[ERROR] actual argument UUID cannot be converted to long by method
invocation conversion
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpRelationManager.java:[406,20]
error: no suitable constructor found for
SimpleMarkedEdge(Id,String,Id,UUID,boolean)
[ERROR] constructor SimpleMarkedEdge.SimpleMarkedEdge(Edge,boolean) is
not applicable
(actual and formal argument lists differ in length)
constructor
SimpleMarkedEdge.SimpleMarkedEdge(Id,String,Id,long,boolean) is not
applicable
(actual argument UUID cannot be converted to long by method
invocation conversion)
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpRelationManager.java:[542,20]
error: no suitable constructor found for
SimpleMarkedEdge(Id,String,Id,UUID,boolean)
[ERROR] constructor SimpleMarkedEdge.SimpleMarkedEdge(Edge,boolean) is
not applicable
(actual and formal argument lists differ in length)
constructor
SimpleMarkedEdge.SimpleMarkedEdge(Id,String,Id,long,boolean) is not
applicable
(actual argument UUID cannot be converted to long by method
invocation conversion)
/Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpRelationManager.java:[634,20]
error: no suitable constructor found for
SimpleMarkedEdge(Id,String,Id,UUID,boolean)
Cheers
Martin
On 28 May 2014 18:03, Dave <sn...@gmail.com> wrote:
> That is probably because you were switching between the master branch of
> two-dot-o. Those generated files are generated to a different directory in
> the two-dot-o branch.
>
> Delete the two files (parser and lexer) and this problem should go away.
>
> - Dave
>
>
>
> On Wed, May 28, 2014 at 1:00 PM, Martin Harris <
> martin.harris@cloudsoftcorp.com> wrote:
>
> > Hi Folks,
> >
> > I'm getting the following build error when trying to build branch
> > two-dot-o:
> >
> > ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[24,38]
> > error: cannot find symbol
> >
> > [ERROR] package org.apache.usergrid.persistence
> >
> > [ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[25,44]
> > error: package org.apache.usergrid.persistence.Query does not exist
> >
> > [ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[109,5]
> > error: cannot find symbol
> >
> > [ERROR] class QueryFilterParser
> >
> > [ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[2206,15]
> > error: cannot find symbol
> >
> > [ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[109,23]
> > error: cannot find symbol
> >
> > [ERROR] class QueryFilterParser
> >
> > [ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[148,16]
> > error: cannot find symbol
> >
> > [ERROR] class QueryFilterParser
> >
> > [ERROR]
> >
> >
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[199,16]
> > error: cannot find symbol
> >
> > <lots more similary errors truncated...>
> >
> >
> > In my IDE (Eclipse), the QueryFilterParsers has errors on the following
> > lines:
> >
> > import org.apache.usergrid.persistence.Query;
> >
> > import org.apache.usergrid.persistence.Query.SortPredicate;
> >
> > (and lots more lines)
> >
> >
> > Am I missing a couple of files?
> >
> >
> > Cheers
> > --
> > Martin Harris
> > Lead Software Engineer
> > Cloudsoft Corporation Ltd
> > www.cloudsoftcorp.com
> >
>
--
Martin Harris
Lead Software Engineer
Cloudsoft Corporation Ltd
www.cloudsoftcorp.com
Mobile: +44 (0)7989 047-855
Re: Build error on two-dot-o
Posted by Dave <sn...@gmail.com>.
That is probably because you were switching between the master branch of
two-dot-o. Those generated files are generated to a different directory in
the two-dot-o branch.
Delete the two files (parser and lexer) and this problem should go away.
- Dave
On Wed, May 28, 2014 at 1:00 PM, Martin Harris <
martin.harris@cloudsoftcorp.com> wrote:
> Hi Folks,
>
> I'm getting the following build error when trying to build branch
> two-dot-o:
>
> ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[24,38]
> error: cannot find symbol
>
> [ERROR] package org.apache.usergrid.persistence
>
> [ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[25,44]
> error: package org.apache.usergrid.persistence.Query does not exist
>
> [ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[109,5]
> error: cannot find symbol
>
> [ERROR] class QueryFilterParser
>
> [ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[2206,15]
> error: cannot find symbol
>
> [ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[109,23]
> error: cannot find symbol
>
> [ERROR] class QueryFilterParser
>
> [ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[148,16]
> error: cannot find symbol
>
> [ERROR] class QueryFilterParser
>
> [ERROR]
>
> /Users/Martin/Documents/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[199,16]
> error: cannot find symbol
>
> <lots more similary errors truncated...>
>
>
> In my IDE (Eclipse), the QueryFilterParsers has errors on the following
> lines:
>
> import org.apache.usergrid.persistence.Query;
>
> import org.apache.usergrid.persistence.Query.SortPredicate;
>
> (and lots more lines)
>
>
> Am I missing a couple of files?
>
>
> Cheers
> --
> Martin Harris
> Lead Software Engineer
> Cloudsoft Corporation Ltd
> www.cloudsoftcorp.com
>