question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build error during wherehows-etl:compileJava

See original GitHub issue

The ./gradlew build is failing at the wherehows-etl:compileJava step. I have checked my jdk version and it’s 1.8.

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)`

Here’s the failure messages and stack trace.

:wherehows-etl:compileJava
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/DeleteStmt.java:16: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TCustomSqlStatement;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/DeleteStmt.java:17: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TAliasClause;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/DeleteStmt.java:18: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TTableList;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/Stmt.java:16: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TCustomSqlStatement;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/Stmt.java:17: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TExpression;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/DeleteStmt.java:29: error: cannot find symbol
    public DeleteStmt(TCustomSqlStatement stmt) throws NoSqlTypeException {
                      ^
  symbol:   class TCustomSqlStatement
  location: class DeleteStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/DeleteStmt.java:53: error: cannot find symbol
    private String checkAlias(TTableList tablelist, String name) {
                              ^
  symbol:   class TTableList
  location: class DeleteStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/Stmt.java:43: error: cannot find symbol
    public Stmt(TCustomSqlStatement stmt) {
                ^
  symbol:   class TCustomSqlStatement
  location: class Stmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/Stmt.java:55: error: cannot find symbol
    protected void processWhere(TCustomSqlStatement stmt) throws NoSqlTypeException {
                                ^
  symbol:   class TCustomSqlStatement
  location: class Stmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/Stmt.java:60: error: cannot find symbol
    protected void processExpression(TExpression expr) throws NoSqlTypeException {
                                     ^
  symbol:   class TExpression
  location: class Stmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:16: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TSelectSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:32: error: cannot find symbol
    public SelectStmt(TSelectSqlStatement stmt) throws NoSqlTypeException {
                      ^
  symbol:   class TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:110: error: cannot find symbol
    private void setOpProcess(TSelectSqlStatement stmt)
                              ^
  symbol:   class TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/MergeStmt.java:16: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TMergeSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/MergeStmt.java:21: error: cannot find symbol
    public MergeStmt(TMergeSqlStatement stmt) throws NoSqlTypeException {
                     ^
  symbol:   class TMergeSqlStatement
  location: class MergeStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:16: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TBaseType;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:17: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TInsertSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:18: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TSelectSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:23: error: cannot find symbol
    public InsertStmt(TInsertSqlStatement stmt) throws NoSqlTypeException {
                      ^
  symbol:   class TInsertSqlStatement
  location: class InsertStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:16: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.EExpressionType;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:17: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TSourceToken;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:18: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TAliasClause;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:19: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TExplicitDataTypeConversion;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:20: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TExpression;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:21: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TExpressionList;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:22: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TFunctionCall;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:23: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TJoinList;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:24: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TObjectName;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:25: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TParseTreeNode;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:26: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TResultColumn;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:27: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TTable;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:28: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TTableList;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:29: error: package gudusoft.gsqlparser.nodes does not exist
import gudusoft.gsqlparser.nodes.TWhereClause;
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:30: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TSelectSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:31: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TUpdateSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:36: error: cannot find symbol
    public UpdateStmt(TUpdateSqlStatement stmt) throws NoSqlTypeException {
                      ^
  symbol:   class TUpdateSqlStatement
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:82: error: cannot find symbol
    private String checkAlias(TTableList tablelist, String name) {
                              ^
  symbol:   class TTableList
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:16: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.EDbVendor;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:17: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TCustomSqlStatement;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:18: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TGSqlParser;
                          ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:19: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TCreateTableSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:20: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TDeleteSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:21: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TInsertSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:22: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TMergeSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:23: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TSelectSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:24: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TUpdateSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:83: error: cannot find symbol
    public static Stmt analyzeStmt(TCustomSqlStatement stmt) throws NoSqlTypeException {
                                   ^
  symbol:   class TCustomSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/CreateStmt.java:16: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TCreateTableSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/CreateStmt.java:17: error: package gudusoft.gsqlparser.stmt does not exist
import gudusoft.gsqlparser.stmt.TSelectSqlStatement;
                               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/CreateStmt.java:23: error: cannot find symbol
    public CreateStmt(TCreateTableSqlStatement stmt) throws NoSqlTypeException {
                      ^
  symbol:   class TCreateTableSqlStatement
  location: class CreateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/ownership/DatasetOwnerEtl.java:93: warning: [deprecation] toString(InputStream) in IOUtils has been deprecated
      String hiveQuery = IOUtils.toString(inputStream);
                                ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/ownership/DaliViewOwnerEtl.java:31: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(null, dbId, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/elasticsearch/ElasticSearchBuildIndexETL.java:24: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/scheduler/azkaban/AzkabanExecEtl.java:27: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/scheduler/oozie/OozieExecEtl.java:27: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/scheduler/appworx/AppworxExecEtl.java:24: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/DeleteStmt.java:55: error: cannot find symbol
            TAliasClause aliasClouse = tablelist.getTable(i).getAliasClause();
            ^
  symbol:   class TAliasClause
  location: class DeleteStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:34: error: cannot find symbol
        if (stmt.getSetOperator() != TSelectSqlStatement.setOperator_none) {
                                     ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:113: error: cannot find symbol
        if (stmt.getSetOperator() == TSelectSqlStatement.setOperator_none) {
                                     ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:125: error: cannot find symbol
            case TSelectSqlStatement.setOperator_except:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:127: error: cannot find symbol
            case TSelectSqlStatement.setOperator_exceptall:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:129: error: cannot find symbol
            case TSelectSqlStatement.setOperator_intersect:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:131: error: cannot find symbol
            case TSelectSqlStatement.setOperator_intersectall:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:133: error: cannot find symbol
            case TSelectSqlStatement.setOperator_minus:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:135: error: cannot find symbol
            case TSelectSqlStatement.setOperator_minusall:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:137: error: cannot find symbol
            case TSelectSqlStatement.setOperator_union:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:139: error: cannot find symbol
            case TSelectSqlStatement.setOperator_unionall:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SelectStmt.java:141: error: cannot find symbol
            case TSelectSqlStatement.setOperator_none:
                 ^
  symbol:   variable TSelectSqlStatement
  location: class SelectStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:40: error: cannot find symbol
            case TBaseType.vt_values:
                 ^
  symbol:   variable TBaseType
  location: class InsertStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:44: error: cannot find symbol
                        TSelectSqlStatement subQuery = stmt.getValues()
                        ^
  symbol:   class TSelectSqlStatement
  location: class InsertStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:51: error: cannot find symbol
            case TBaseType.vt_query:
                 ^
  symbol:   variable TBaseType
  location: class InsertStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:52: error: cannot find symbol
                TSelectSqlStatement subQuery = stmt.getSubQuery();
                ^
  symbol:   class TSelectSqlStatement
  location: class InsertStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:63: error: cannot find symbol
        TResultColumn a = stmt.getResultColumnList().getResultColumn(0);
        ^
  symbol:   class TResultColumn
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:64: error: cannot find symbol
        TExpression expression = a.getExpr();
        ^
  symbol:   class TExpression
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:65: error: cannot find symbol
        TExpression value = expression.getRightOperand();
        ^
  symbol:   class TExpression
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:69: error: cannot find symbol
        if( value.getExpressionType() == EExpressionType.function_t ){
                                         ^
  symbol:   variable EExpressionType
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:70: error: cannot find symbol
            TExpressionList argList = value.getFunctionCall().getArgs();
            ^
  symbol:   class TExpressionList
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:72: error: cannot find symbol
                TExpression arg = argList.getExpression(i);
                ^
  symbol:   class TExpression
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:73: error: cannot find symbol
                if (arg.getExpressionType() == EExpressionType.subquery_t){
                                               ^
  symbol:   variable EExpressionType
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:84: error: cannot find symbol
            TAliasClause aliasClouse = tablelist.getTable(i).getAliasClause();
            ^
  symbol:   class TAliasClause
  location: class UpdateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:37: error: cannot find symbol
        TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvteradata);
        ^
  symbol:   class TGSqlParser
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:37: error: cannot find symbol
        TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvteradata);
                                    ^
  symbol:   class TGSqlParser
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:37: error: cannot find symbol
        TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvteradata);
                                                ^
  symbol:   variable EDbVendor
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:50: error: cannot find symbol
        TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvteradata);
        ^
  symbol:   class TGSqlParser
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:50: error: cannot find symbol
        TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvteradata);
                                    ^
  symbol:   class TGSqlParser
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:50: error: cannot find symbol
        TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvteradata);
                                                ^
  symbol:   variable EDbVendor
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:84: error: illegal start of type
        switch (stmt.sqlstatementtype) {
               ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:85: error: cannot find symbol
            case sstselect:
                 ^
  symbol:   variable sstselect
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:86: error: cannot find symbol
                return new SelectStmt((TSelectSqlStatement) stmt);
                                       ^
  symbol:   class TSelectSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:87: error: cannot find symbol
            case sstinsert:
                 ^
  symbol:   variable sstinsert
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:88: error: cannot find symbol
                return new InsertStmt((TInsertSqlStatement) stmt);
                                       ^
  symbol:   class TInsertSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:89: error: cannot find symbol
            case sstcreatetable:
                 ^
  symbol:   variable sstcreatetable
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:90: error: cannot find symbol
                TCreateTableSqlStatement createStmt = (TCreateTableSqlStatement) stmt;
                ^
  symbol:   class TCreateTableSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:90: error: cannot find symbol
                TCreateTableSqlStatement createStmt = (TCreateTableSqlStatement) stmt;
                                                       ^
  symbol:   class TCreateTableSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:92: error: cannot find symbol
            case sstupdate:
                 ^
  symbol:   variable sstupdate
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:93: error: cannot find symbol
                return new UpdateStmt((TUpdateSqlStatement) stmt);
                                       ^
  symbol:   class TUpdateSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:94: error: cannot find symbol
            case sstdelete:
                 ^
  symbol:   variable sstdelete
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:95: error: cannot find symbol
                return new DeleteStmt((TDeleteSqlStatement) stmt);
                                       ^
  symbol:   class TDeleteSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:96: error: cannot find symbol
            case sstmerge:
                 ^
  symbol:   variable sstmerge
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:97: error: cannot find symbol
                return new MergeStmt((TMergeSqlStatement) stmt);
                                      ^
  symbol:   class TMergeSqlStatement
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:98: error: cannot find symbol
            case sstaltertable:
                 ^
  symbol:   variable sstaltertable
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/SqlParser.java:100: error: cannot find symbol
            case sstcreateview:
                 ^
  symbol:   variable sstcreateview
  location: class SqlParser
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/CreateStmt.java:38: error: cannot find symbol
        TSelectSqlStatement subQuery = stmt.getSubQuery();
        ^
  symbol:   class TSelectSqlStatement
  location: class CreateStmt
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/treebuilder/DatasetTreeBuildETL.java:24: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/git/GitMetadataEtl.java:40: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/models/EtlJobFactory.java:28: warning: [unchecked] unchecked call to getConstructor(Class<?>...) as a member of the raw type Class
    Constructor<?> ctor = etlClass.getConstructor(int.class, long.class, Properties.class);
                                                 ^
  where T is a type-variable:
    T extends Object declared in class Class
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/lineage/AzLineageMetadataEtl.java:39: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(azkabanInstanceId, null, 0L);
    ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/lineage/appworx/AppworxLineageEtl.java:30: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
        super(appId, null, whExecId);
        ^
/root/WhereHows/wherehows-etl/src/main/java/metadata/etl/ldap/LdapEtl.java:31: warning: [deprecation] EtlJob(Integer,Integer,long) in EtlJob has been deprecated
    super(appId, null, whExecId);
    ^
97 errors
12 warnings
:wherehows-etl:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':wherehows-etl:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':wherehows-etl:compileJava'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:48)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:163)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:145)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
        ... 60 more


BUILD FAILED

Total time: 9.799 secs

I am running this in a Ubuntu 16 server behind corporate proxy and I have setup the proxy settings in gradle.properties too which I don’t figure is the problem here.

Help is much appreciated.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
BillLuckycommented, Jul 18, 2017

tips: You need to manually download a few jar package, into the extralibs folder and then compiled can be passed

readme.md contenxt: Please get the extra library files, which may not be available in Maven/TypeSafe repository or Artifactory, and put them here. For example:

like this : image

0reactions
mtHubertycommented, Jun 8, 2018

@rvucera Wow I hadn’t noticed that, and I just started getting the same error that @raghav130593 posted above. When I saw your comment, I decided to try re-downloading gsp.jar and deleting the old one and that fixed it. Pretty disappointed that a $500 (minimum) mysql connection driver was used, especially because it wasn’t made clear by the devs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error while trying to build the mod "Task :fabric:compileJava ...
Loom is applying dependency data manually to publications instead of using a software component (from(components["java"])). This is deprecated. Task :fabric: ...
Read more >
Execution failed for task ':compileJava'. > invalid source release
You can set the JDK Version used by gradle for the build by adding a "gradle.properties" file to your project. Add the following...
Read more >
What Is The Solution Of Java Error: Command Not Found?
When you compile your Java program in the command prompt, if you get the same command error then make sure to your text...
Read more >
How to Compile and Run Java Program - Javatpoint
Step 4: Use the following command to compile the Java program. It generates a .class file in the same folder. It also shows...
Read more >
Using Gradle to Create ZIP Packs | Tencent Cloud
If a compilation failure is displayed, adjust the code based on the output compilation error message. The compiled zip package is located in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found