When I am using ANT in eclipse clean+Build, it doesn't give me any error/problems.
However when I build using Maven it gives following error :
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TFMWithSpark 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # TFMWithSpark ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # TFMWithSpark ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 35 source files to C:\Users\asoza\SparkWorkspace\TFMWithSpark\target\classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java: C:\Users\asoza\SparkWorkspace\TFMWithSpark\src\main\java\com\tfmwithspark\SparkVMACache.java uses or overrides a deprecated API.
[WARNING] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java: Recompile with -Xlint:deprecation for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[8,36] package com.splwg.base.api.datatypes does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[9,74] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[10,74] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[11,74] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[41,13] cannot find symbol
symbol: class Bool
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeServiceQuantityDetailVO.java:[6,32] package com.splwg.ccb.api.lookup does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[47,18] cannot find symbol
symbol: class BillableChargeLineDetailVO
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[48,18] cannot find symbol
symbol: class BillableChargeCharacteristicDetailVO
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[352,12] cannot find symbol
symbol: class Bool
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[359,32] cannot find symbol
symbol: class Bool
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[422,17] cannot find symbol
symbol: class BillableChargeLineDetailVO
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[429,40] cannot find symbol
symbol: class BillableChargeLineDetailVO
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[436,17] cannot find symbol
symbol: class BillableChargeCharacteristicDetailVO
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkBillableChargeDetailVO.java:[443,44] cannot find symbol
symbol: class BillableChargeCharacteristicDetailVO
location: class com.tfmwithspark.SparkBillableChargeDetailVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[22,25] package org.hibernate.cfg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[23,30] package org.hibernate.internal does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[25,34] package com.splwg.base.api.service does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[26,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[27,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[28,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[29,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[30,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[31,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[32,33] package com.splwg.ccb.domain.util does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[33,31] package com.splwg.shared.common does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[34,31] package com.splwg.shared.common does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[35,32] package com.splwg.shared.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[36,32] package com.splwg.shared.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[37,32] package com.splwg.shared.environ does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestView.java:[76,45] cannot find symbol
symbol: class FrameworkSession
location: class com.tfmwithspark.TestView
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[7,74] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[68,13] cannot find symbol
symbol: class ErrorDetailVO
location: class com.tfmwithspark.SparkTransactionPriceItemDetailSummaryVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[90,29] package com.ibm.icu.math does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[629,12] cannot find symbol
symbol: class ErrorDetailVO
location: class com.tfmwithspark.SparkTransactionPriceItemDetailSummaryVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[636,32] cannot find symbol
symbol: class ErrorDetailVO
location: class com.tfmwithspark.SparkTransactionPriceItemDetailSummaryVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[777,28] package com.ibm.icu.math does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkTransactionPriceItemDetailSummaryVO.java:[784,47] package com.ibm.icu.math does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[24,36] package com.splwg.base.api.datatypes does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[25,57] package com.splwg.base.domain.common.featureConfiguration does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[26,57] package com.splwg.base.domain.common.featureConfiguration does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[27,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[28,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[29,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[30,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[31,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[32,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[33,71] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[34,74] package com.splwg.ccb.domain.banking.transactionFeed.transactionFeedAgg.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[35,51] package com.splwg.ccb.domain.pricing.priceassign.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[36,46] package com.splwg.ccb.domain.pricing.priceitem does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[37,46] package com.splwg.ccb.domain.pricing.priceitem does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[38,46] package com.splwg.ccb.domain.pricing.priceitem does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[39,46] package com.splwg.ccb.domain.pricing.priceitem does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[40,46] package com.splwg.ccb.domain.pricing.priceparm does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[41,46] package com.splwg.ccb.domain.pricing.priceparm does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[42,46] package com.splwg.ccb.domain.pricing.priceparm does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[130,25] cannot find symbol
symbol: class EffectiveDatedProductParameterDetail
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[132,25] cannot find symbol
symbol: class PriceParm
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[149,25] cannot find symbol
symbol: class TransactionRecordTypeVO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[151,25] cannot find symbol
symbol: class DivisionCharacteristicDetail
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[154,25] cannot find symbol
symbol: class SQIFragmentDetails
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[157,30] cannot find symbol
symbol: class AlgoParmVO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[159,25] cannot find symbol
symbol: class DivisionDetailVO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[161,35] cannot find symbol
symbol: class SchedulePeriodData
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[297,31] cannot find symbol
symbol: class TransactionRecordTypeVO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[313,31] cannot find symbol
symbol: class DivisionCharacteristicDetail
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[329,31] cannot find symbol
symbol: class SQIFragmentDetails
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[345,41] cannot find symbol
symbol: class SchedulePeriodData
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[350,19] cannot find symbol
symbol: class PriceParm
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[651,17] cannot find symbol
symbol: class EffectiveDatedProductParameterDetail
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[1270,102] package com.splwg.base.api.datatypes does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[1317,31] cannot find symbol
symbol: class DivisionDetailVO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[1618,24] cannot find symbol
symbol: class PriceItemParm_DTO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[1626,18] cannot find symbol
symbol: class PriceItemParm_DTO
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[1646,13] cannot find symbol
symbol: class EffectiveDatedProductParameterDetail
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkVMACache.java:[1645,13] cannot find symbol
symbol: class EffectiveDatedProductParameterDetail
location: class com.tfmwithspark.SparkVMACache
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/BillableChargeAndSQSparkVO.java:[7,46] package com.splwg.ccb.domain.pricing.priceitem does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[22,30] package org.hibernate.internal does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[25,34] package com.splwg.base.api.service does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[26,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[27,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[28,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[29,38] package com.splwg.base.support.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[30,33] package com.splwg.ccb.domain.util does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[31,32] package com.splwg.shared.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[32,32] package com.splwg.shared.context does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[33,32] package com.splwg.shared.environ does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/TestMaterializedView.java:[68,36] cannot find symbol
symbol: class FrameworkSession
location: class com.tfmwithspark.TestMaterializedView
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[7,36] package com.splwg.base.api.datatypes does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[8,36] package com.splwg.ccb.domain.pricing does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[9,54] package com.splwg.ccb.domain.pricing.priceassign.enums does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[10,54] package com.splwg.ccb.domain.pricing.priceassign.enums does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[11,46] package com.splwg.ccb.domain.pricing.priceitem does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[12,46] package com.splwg.ccb.domain.pricing.priceparm does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[13,47] package com.splwg.ccb.domain.pricing.service.vo does not exist
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[64,13] cannot find symbol
symbol: class Date
location: class com.tfmwithspark.SparkPriceAsgnVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[66,13] cannot find symbol
symbol: class Date
location: class com.tfmwithspark.SparkPriceAsgnVO
[ERROR] /C:/Users/asoza/SparkWorkspace/TFMWithSpark/src/main/java/com/tfmwithspark/SparkPriceAsgnVO.java:[68,13] cannot find symbol
symbol: class Date
location: class com.tfmwithspark.SparkPriceAsgnVO
[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
I already checked solutions which asks to check if Java version is correctly mentioned in pom.xml.
I have checked it in my pom.xml and it is correct.
I am not able to understand why this error is occuring.
below my POM.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.tfmwithspark</groupId>
<artifactId>TFMWithSpark</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.11</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.11</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>
I am using Maven - 3.5.3 and java version "1.8.0_211"
You should declare all dependencies in your POM.
I guess that packages starting with com.splwg are neither part of your project nor belongs to Spark.
Those dependency must be someway declared in your POM.
If those jar are not in a public maven repository you either install them locally, or deploy in a private maven repository or (and if neither is possible) reference them with the systemPath property of the dependecy.
You should check maven guide to installing 3rd party JARs.
The only dirty hack which is quick enough to include in this answer is the system path dependency.
<dependency>
<groupId>local.hack</groupId>
<artifactId>com.splwg.base</artifactId>
<version>1.0</version>
<scope>system</scope>
<!-- here you set the local machine path of your jar -->
<systemPath>${basedir}/lib/splwg_base_jar.jar</systemPath>
</dependency>
I would not recommend this approach, but my guess is that you are already using local dependencies in your project, so importing them in maven does not introduce any problem.
Sharing a POM with local dependency with other developers is not a good idea, and you should go for a private maven repository.
A private maven repository is just a dedicated webapp which let you upload jars as maven artifact which then you can include as dependencies in your pom.
It has also the benefit (if you want) to proxy maven repository so you get a local network cache of maven artifact you use.
There are several local artifact repository software like NEXUS or Artifactory, pick one and follow its guide.
Related
I cannot compile the Maven project from the command line.
I am using Maven version :
Apache Maven 3.5.4
This is my stack trace, what I am doing wrong here?
Error:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for MONTANA:MONTANA:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. # line 13,
column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -----------------------------------------------------
[INFO] Building MONTANA 1.0-SNAPSHOT
[INFO] --------------------------------[jar]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.183 s
[INFO] Finished at: 2018-08-17T10:34:57+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "inctall". You must specify a valid lifecycle phase or a goal in the format : or
:[:]:.
Available lifecycle phases are: validate, initialize,
generate-sources, process-sources, generate-resources,
process-resources, compile, process-classes, generate-test-sources,
process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy, pre-clean, clean,
post-clean, pre-site, site, post-site, site-deploy. -> [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/LifecyclePhaseNotFoundException
[WARNING] Some problems were
There is my pom.xml (without dependencies):
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>MONTANA</groupId>
<artifactId>MONTANA</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build
The new stack trace is:
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were
encountered while building the effective model for
MONTANA:MONTANA:jar:1.0-SNAPSHOT [WARNING]
'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. # line 13,
column 21 [WARNING] [WARNING] It is highly recommended to fix these
problems because they threaten the stability of your build. [WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects. [WARNING] [INFO] [INFO]
--------------------------< MONTANA:MONTANA >--------------------------- [INFO] Building MONTANA 1.0-SNAPSHOT [INFO] --------------------------------[ jar
]--------------------------------- [INFO] [INFO] ---
maven-clean-plugin:2.5:clean (default-clean) # MONTANA --- [INFO]
Deleting D:\Documents\Uni\Java\MONTANA\target [INFO] [INFO] ---
maven-resources-plugin:2.6:resources (default-resources) # MONTANA ---
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered
resources, i.e. build is platform dependent! [INFO] Copying 0 resource
[INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile)
# MONTANA --- [INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding
Cp1251, i.e. build is platform dependent! [INFO] Compiling 17 source
files to D:\Documents\Uni\Java\MONTANA\target\classes [INFO]
------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO]
------------------------------------------------------------- [ERROR] /D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[9,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[10,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[11,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[12,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[13,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[20,35]
cannot find symbol symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[19,2]
cannot find symbol symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[22,27]
cannot find symbol symbol: class HttpServletRequest location:
class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[22,55]
cannot find symbol symbol: class HttpServletResponse location:
class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[22,92]
cannot find symbol symbol: class ServletException location:
class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[76,26]
cannot find symbol symbol: class HttpServletRequest location:
class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[76,54]
cannot find symbol symbol: class HttpServletResponse location:
class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[76,91]
cannot find symbol symbol: class ServletException location:
class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[3,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[4,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[5,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[6,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[9,33]
cannot find symbol symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[12,24]
cannot find symbol symbol: class HttpServletRequest location:
class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[12,52]
cannot find symbol symbol: class HttpServletResponse location:
class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[12,89]
cannot find symbol symbol: class ServletException location:
class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[24,23]
cannot find symbol symbol: class HttpServletRequest location:
class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[24,51]
cannot find symbol symbol: class HttpServletResponse location:
class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[24,88]
cannot find symbol symbol: class ServletException location:
class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[3,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[4,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[5,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[6,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[7,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[11,33]
cannot find symbol symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[10,2]
cannot find symbol symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[12,27]
cannot find symbol symbol: class HttpServletRequest location:
class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[12,55]
cannot find symbol symbol: class HttpServletResponse location:
class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[12,92]
cannot find symbol symbol: class ServletException location:
class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[16,26]
cannot find symbol symbol: class HttpServletRequest location:
class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[16,54]
cannot find symbol symbol: class HttpServletResponse location:
class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[16,91]
cannot find symbol symbol: class ServletException location:
class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[3,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[4,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[5,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[6,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[7,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[11,34]
cannot find symbol symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[10,2]
cannot find symbol symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[12,27]
cannot find symbol symbol: class HttpServletRequest location:
class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[12,55]
cannot find symbol symbol: class HttpServletResponse location:
class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[12,92]
cannot find symbol symbol: class ServletException location:
class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[16,26]
cannot find symbol symbol: class HttpServletRequest location:
class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[16,54]
cannot find symbol symbol: class HttpServletResponse location:
class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[16,91]
cannot find symbol symbol: class ServletException location:
class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[8,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[9,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[10,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[11,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[12,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[13,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[20,36]
cannot find symbol symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[19,2]
cannot find symbol symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[21,27]
cannot find symbol symbol: class HttpServletRequest location:
class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[21,55]
cannot find symbol symbol: class HttpServletResponse location:
class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[21,92]
cannot find symbol symbol: class ServletException location:
class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[55,26]
cannot find symbol symbol: class HttpServletRequest location:
class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[55,54]
cannot find symbol symbol: class HttpServletResponse location:
class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[55,91]
cannot find symbol symbol: class ServletException location:
class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[11,5]
method does not override or implement a method from a supertype
[ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[23,5]
method does not override or implement a method from a supertype
[ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[44,13]
cannot find symbol symbol: class Cookie location: class
Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[44,33]
cannot find symbol symbol: class Cookie location: class
Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[57,9]
cannot find symbol symbol: class Cookie location: class
Actions.Authorization [INFO] 69 errors [INFO]
------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]
------------------------------------------------------------------------ [INFO] Total time: 10.092 s [INFO] Finished at:
2018-08-17T12:11:19+03:00 [INFO]
------------------------------------------------------------------------ [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project MONTANA: Compilation failure: Compilation
failure: [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[9,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[10,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[11,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[12,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[13,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[20,35]
cannot find symbol [ERROR] symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[19,2]
cannot find symbol [ERROR] symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[22,27]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[22,55]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[22,92]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[76,26]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[76,54]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Registration.java:[76,91]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Actions.Registration [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[3,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[4,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[5,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[6,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[9,33]
cannot find symbol [ERROR] symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[12,24]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[12,52]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[12,89]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[24,23]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[24,51]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[24,88]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Pages.Registered [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[3,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[4,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[5,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[6,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[7,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[11,33]
cannot find symbol [ERROR] symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[10,2]
cannot find symbol [ERROR] symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[12,27]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[12,55]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[12,92]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[16,26]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[16,54]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/PageOfUser.java:[16,91]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Pages.PageOfUser [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[3,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[4,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[5,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[6,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[7,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[11,34]
cannot find symbol [ERROR] symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[10,2]
cannot find symbol [ERROR] symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[12,27]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[12,55]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[12,92]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[16,26]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[16,54]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/MessagePage.java:[16,91]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Pages.MessagePage [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[8,21]
package javax.servlet does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[9,32]
package javax.servlet.annotation does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[10,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[11,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[12,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[13,26]
package javax.servlet.http does not exist [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[20,36]
cannot find symbol [ERROR] symbol: class HttpServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[19,2]
cannot find symbol [ERROR] symbol: class WebServlet [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[21,27]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[21,55]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[21,92]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[55,26]
cannot find symbol [ERROR] symbol: class HttpServletRequest
[ERROR] location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[55,54]
cannot find symbol [ERROR] symbol: class HttpServletResponse
[ERROR] location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[55,91]
cannot find symbol [ERROR] symbol: class ServletException [ERROR]
location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[11,5]
method does not override or implement a method from a supertype
[ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Pages/Registered.java:[23,5]
method does not override or implement a method from a supertype
[ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[44,13]
cannot find symbol [ERROR] symbol: class Cookie [ERROR]
location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[44,33]
cannot find symbol [ERROR] symbol: class Cookie [ERROR]
location: class Actions.Authorization [ERROR]
/D:/Documents/Uni/Java/MONTANA/src/main/java/Actions/Authorization.java:[57,9]
cannot find symbol [ERROR] symbol: class Cookie [ERROR]
location: class Actions.Authorization [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
As Mentioned in the comments you got a typo in Maven command, try
mvn clean install
First Solution --> please enter proper commands "install"* Not "inctall"
According to your screen shot in the Question
Issue is not understandable might you can find the exact issue by running mvn build life cycle commands
first step = mvn validate It will validate the pom.xml file and other dependency's
Second Step = mvn compile It will compile and build the project
Third Step = mvn test it will test all the basic cases
Fourth step = mvn package It will give the jar/war/ear file
Fifth step = mvn verify it will verify the build
Sixth Step = mvn install It will build the project according to our pom
Seventh step = mvn deploy The build will be deployed in specified tom cat server
Then you can find what is the error and where it has to be resolved at the specific situation (while running the mvn build life cycle commands )
I am trying to make an Uber jar in Intellij and have run across this issue with maven shade. I have looked at other solutions but nothing seems to work. My project is to make a plugin for Minecraft, if that helps at all. I run 'mvn package' or 'mvn compile' and it produces the error below.
Error:
C:\Users\luckycosmos\IdeaProjects\discordMC>mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< me.cosmicluck:discordMC >-----------------------
[INFO] Building discordMC 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # discordMC ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # discordMC ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 6 source files to C:\Users\luckycosmos\IdeaProjects\discordMC\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/DiscordHandler.java:[1,39] package com.onarandombox.MultiverseCore does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[1,39] package com.onarandombox.MultiverseCore does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/DiscordHandler.java:[19,13] cannot find symbol
symbol: class MultiverseCore
location: class DiscordHandler
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/DiscordHandler.java:[21,43] cannot find symbol
symbol: class MultiverseCore
location: class DiscordHandler
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[12,13] cannot find symbol
symbol: class MultiverseCore
location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[30,12] cannot find symbol
symbol: class MultiverseCore
location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[52,12] cannot find symbol
symbol: class MultiverseCore
location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[1,39] package com.onarandombox.MultiverseCore does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[2,43] package com.onarandombox.MultiverseCore.api does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[3,43] package com.onarandombox.MultiverseCore.api does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[13,13] cannot find symbol
symbol: class MultiverseCore
location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[16,15] cannot find symbol
symbol: class MultiverseCore
location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[21,12] cannot find symbol
symbol: class MVWorldManager
location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[25,50] cannot find symbol
symbol: class MVWorldManager
location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[25,23] cannot find symbol
symbol: class MultiverseWorld
location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[29,49] cannot find symbol
symbol: class MultiverseWorld
location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[33,31] cannot find symbol
symbol: class MultiverseCore
location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[34,21] cannot find symbol
symbol: class MultiverseCore
location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[31,13] cannot find symbol
symbol: class MultiverseWorld
location: class MVManager
[INFO] 19 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.685 s
[INFO] Finished at: 2018-06-23T20:28:39-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project discordMC: Compilation failure: Compilation failure:
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/DiscordHandler.java:[1,39] package com.onarandombox.MultiverseCore does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[1,39] package com.onarandombox.MultiverseCore does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/DiscordHandler.java:[19,13] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class DiscordHandler
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/DiscordHandler.java:[21,43] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class DiscordHandler
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[12,13] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[30,12] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[52,12] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[1,39] package com.onarandombox.MultiverseCore does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[2,43] package com.onarandombox.MultiverseCore.api does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[3,43] package com.onarandombox.MultiverseCore.api does not exist
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[13,13] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[16,15] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[21,12] cannot find symbol
[ERROR] symbol: class MVWorldManager
[ERROR] location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[25,50] cannot find symbol
[ERROR] symbol: class MVWorldManager
[ERROR] location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[25,23] cannot find symbol
[ERROR] symbol: class MultiverseWorld
[ERROR] location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[29,49] cannot find symbol
[ERROR] symbol: class MultiverseWorld
[ERROR] location: class MVManager
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[33,31] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/Main.java:[34,21] cannot find symbol
[ERROR] symbol: class MultiverseCore
[ERROR] location: class Main
[ERROR] /C:/Users/luckycosmos/IdeaProjects/discordMC/src/main/java/MVManager.java:[31,13] cannot find symbol
[ERROR] symbol: class MultiverseWorld
[ERROR] location: class MVManager
[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
pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>me.cosmicluck</groupId>
<artifactId>discordMC</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>jcenter</id>
<name>jcenter-bintray</name>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencies>
<!--Spigot API-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.12.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!--Bukkit API-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.12.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>3.6.0_365</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Maven Shade Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<!-- Run shade goal on package phase -->
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
I checked my JDK home, everything is correct. I am confused as to why this is happening, I have never seen this happen before. Hopefully I can get some enlightenment on this.
I am new to maven. Please help!
Even if I have included all the dependencies in POM.xml, I am getting symbol not found error while "mvn install".
Here is the complete stack trace for your reference-
[INFO] Scanning for projects...
[INFO] Building XDMS Automation 0.0.1-SNAPSHOT
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # XDMS ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) # XDMS ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to C:\JavaProgs\xdms\target\classes
[INFO] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java: Recompile with -Xlint:unchecked for details.
[ERROR] COMPILATION ERROR :
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[7,22] package io.restassured does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[8,29] package io.restassured.config does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[10,30] package io.restassured.parsing does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[13,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[14,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[15,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[17,29] cannot find symbol
symbol: class RestAssured
location: package io.restassured
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[17,1] static import only from classes and interfaces
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[27,18] package org.testng does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[28,18] package org.testng does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[32,26] package org.testng.asserts does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[12,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[15,22] cannot find symbol
symbol: class RestAssured
location: package io.restassured
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[21,1] static import only from classes and interfaces
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[23,1] package io.restassured.RestAssured does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[25,1] package org.hamcrest.Matchers does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[45,29] cannot find symbol
symbol: class ITestResult
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[151,12] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/resources/TestNGPagefactoryRunnerTest.java:[3,24] package org.junit.runner does not exist
[ERROR] /C:/..../TestNGPagefactoryRunnerTest.java:[6,26] package cucumber.api.junit does not exist
[ERROR] /C:/../TestNGPagefactoryRunnerTest.java:[9,2] cannot find symbol
symbol: class RunWith
[ERROR] /C:/.../CommonFunctions.java:[8,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/resources/StepDefCommon.java:[5,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/resources/StepDefCommon.java:[8,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[44,10] cannot find symbol
symbol: class AfterMethod
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[59,10] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[69,10] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[82,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/.../SmokeTest.java:[104,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/.../SmokeTest.java:[119,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/.../SmokeTest.java:[135,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/.../SmokeTest.java:[156,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[166,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[184,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[207,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[236,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[244,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[252,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[269,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[276,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[283,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[304,6] cannot find symbol
symbol: class Test
location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[43,10] cannot find symbol
symbol: class BeforeSuite
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[103,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[154,11] cannot find symbol
symbol: variable RestAssured
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[155,11] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[155,26] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[168,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[170,78] cannot find symbol
symbol: variable XmlConfig
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[170,47] cannot find symbol
symbol: variable RestAssured
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[168,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[179,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[179,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[189,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[196,40] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[211,25] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[213,92] cannot find symbol
symbol: variable XmlConfig
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[213,55] cannot find symbol
symbol: variable RestAssuredConfig
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[211,40] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[228,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[228,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[243,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[243,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[254,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[254,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[272,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[272,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[284,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[284,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[294,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[294,32] cannot find symbol
symbol: method given()
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[304,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[306,17] cannot find symbol
symbol: class Response
location: class restprograms.GrpUpdates
[INFO] 100 errors
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project XDMS: Compilation failure: Compilation failure:
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[7,22] package io.restassured does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[8,29] package io.restassured.config does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[10,30] package io.restassured.parsing does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[13,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[14,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[15,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[17,29] cannot find symbol
[ERROR] symbol: class RestAssured
[ERROR] location: package io.restassured
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[17,1] static import only from classes and interfaces
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[27,18] package org.testng does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[28,18] package org.testng does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[29,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[31,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[32,26] package org.testng.asserts does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[12,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[13,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[14,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[15,22] cannot find symbol
[ERROR] symbol: class RestAssured
[ERROR] location: package io.restassured
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[16,29] package io.restassured.config does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[17,29] package io.restassured.config does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[19,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[21,29] cannot find symbol
[ERROR] symbol: class RestAssured
[ERROR] location: package io.restassured
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[21,1] static import only from classes and interfaces
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[23,1] package io.restassured.RestAssured does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[24,1] package io.restassured.matcher.RestAssuredMatchers does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[25,1] package org.hamcrest.Matchers does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[45,29] cannot find symbol
[ERROR] symbol: class ITestResult
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[151,12] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[166,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[177,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[207,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[222,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[240,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[251,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[263,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[282,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[292,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[302,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[335,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[345,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[355,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[368,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[378,16] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/resources/TestNGPagefactoryRunnerTest.java:[3,24] package org.junit.runner does not exist
[ERROR] /C:/JavaProgs/xdms/src/resources/TestNGPagefactoryRunnerTest.java:[6,26] package cucumber.api.junit does not exist
[ERROR] /C:/JavaProgs/xdms/src/resources/TestNGPagefactoryRunnerTest.java:[9,2] cannot find symbol
[ERROR] symbol: class RunWith
[ERROR] /C:/JavaProgs/xdms/src/restprograms/CommonFunctions.java:[8,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/resources/StepDefCommon.java:[5,30] package org.testng.annotations does not exist
[ERROR] /C:/JavaProgs/xdms/src/resources/StepDefCommon.java:[8,31] package io.restassured.response does not exist
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[44,10] cannot find symbol
[ERROR] symbol: class AfterMethod
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[59,10] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[69,10] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[82,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[104,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[119,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[135,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[156,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[166,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[184,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[207,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[236,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[244,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[252,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[269,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[276,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[283,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/SmokeTest.java:[304,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class restprograms.SmokeTest
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[43,10] cannot find symbol
[ERROR] symbol: class BeforeSuite
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[103,17] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[103,32] cannot find symbol
[ERROR] symbol: method given()
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[119,17] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[119,32] cannot find symbol
[ERROR] symbol: method given()
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[154,11] cannot find symbol
[ERROR] symbol: variable RestAssured
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[155,11] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[155,26] cannot find symbol
[ERROR] symbol: method given()
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[168,17] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[170,78] cannot find symbol
[ERROR] symbol: variable XmlConfig
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[170,47] cannot find symbol
[ERROR] symbol: variable RestAssured
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[168,32] cannot find symbol
[ERROR] symbol: method given()
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[179,17] cannot find symbol
[ERROR] symbol: class Response
[ERROR] location: class restprograms.GrpUpdates
[ERROR] /C:/JavaProgs/xdms/src/restprograms/GrpUpdates.java:[179,32] cannot find symbol
[ERROR] symbol: method given()
[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
Here is my POM.xml -
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>MyProject</groupId>
<artifactId>MyProject</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>MyProject Automation</name>
<description>MyProject Automation with Rest Assured</description>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/io.rest-assured/rest-assured -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.0.3</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/io.rest-assured/xml-path -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>xml-path</artifactId>
<version>3.0.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.11</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-testng -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-testng</artifactId>
<version>1.2.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-junit -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-java -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-core -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-core</artifactId>
<version>1.2.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-picocontainer -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
I am stuck with this since last week. Tried everything for the same error description on stackoverflow! Still no luck, hence posting the question.
Thanks for your help!
You better follow standard Maven directory layout like src/main/java, src/test/java etc.
The problem in this case is probably that you're including
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.0.3</version>
<scope>test</scope>
</dependency>
in test scope but use it in what appears to be "main" code.
Another way to fix this is to
1.Open POM.xml
2.Navigate to dependencies tab
3.select rest assured click on properties button
4.In the scope field, change the value from test
to compile.
5.Save it and run again.
Thanks "lexicore" for the suggestion. Even if I created the directory structure and copied files as per your suggestion, I was still getting error.
This error disappeared and I was able to run "maven install" through eclipse when I commented following line in POM.xml
<build>
<!-- <sourceDirectory>src</sourceDirectory> -->
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
I was facing the same issue. I commented out the scope test part of it,
since was using the standard Maven directory layout like src/main/java, src/test/java etc.
I followed this: https://mahout.apache.org/users/recommender/userbased-5-minutes.html
and my codes :
pom.xml
Note that my <groupId> is also org.apche.mahout
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.mahout</groupId>
<artifactId>first</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>first</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout-mr</artifactId>
<version>0.9</version>
</dependency>
</dependencies>
</project>
SampleRecommender.java
package org.apache.mahout;
public class SampleRecommender
{
public static void main(String[] args)
{
DataModel model = new FileDataModel(new File("dataset.csv"));
UserSimilarity similarity = new PearsonCorrelationSimilarity(model);
UserNeighborhood neighborhood = new ThresholdUserNeighborhood(0.1, similarity, model);
UserBasedRecommender recommender = new GenericUserBasedRecommender(model, neighborhood, similarity);
List recommendations = recommender.recommend(2, 3);
for (RecommendedItem recommendation : recommendations)
System.out.println(recommendation);
}
}
When I entered mvn compile, these errors occur:
...After downloading some .jar files...
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # first ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # first ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/[username]/Desktop/ferrari_project/mahout-test/first/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[7,17] cannot find symbol
symbol: class DataModel
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[7,39] cannot find symbol
symbol: class FileDataModel
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[7,57] cannot find symbol
symbol: class File
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[8,17] cannot find symbol
symbol: class UserSimilarity
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[8,49] cannot find symbol
symbol: class PearsonCorrelationSimilarity
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[9,17] cannot find symbol
symbol: class UserNeighborhood
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[9,53] cannot find symbol
symbol: class ThresholdUserNeighborhood
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[11,17] cannot find symbol
symbol: class UserBasedRecommender
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[11,56] cannot find symbol
symbol: class GenericUserBasedRecommender
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[13,17] cannot find symbol
symbol: class List
location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[14,22] cannot find symbol
symbol: class RecommendedItem
location: class org.apache.mahout.SampleRecommender
[INFO] 11 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.228 s
[INFO] Finished at: 2016-10-10T09:57:14+09:00
[INFO] Final Memory: 24M/149M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project first: Compilation failure: Compilation failure:
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[7,17] cannot find symbol
[ERROR] symbol: class DataModel
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[7,39] cannot find symbol
[ERROR] symbol: class FileDataModel
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[7,57] cannot find symbol
[ERROR] symbol: class File
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[8,17] cannot find symbol
[ERROR] symbol: class UserSimilarity
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[8,49] cannot find symbol
[ERROR] symbol: class PearsonCorrelationSimilarity
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[9,17] cannot find symbol
[ERROR] symbol: class UserNeighborhood
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[9,53] cannot find symbol
[ERROR] symbol: class ThresholdUserNeighborhood
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[11,17] cannot find symbol
[ERROR] symbol: class UserBasedRecommender
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[11,56] cannot find symbol
[ERROR] symbol: class GenericUserBasedRecommender
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[13,17] cannot find symbol
[ERROR] symbol: class List
[ERROR] location: class org.apache.mahout.SampleRecommender
[ERROR] /Users/[username]/Desktop/ferrari_project/mahout-test/first/src/main/java/org/apache/mahout/SampleRecommender.java:[14,22] cannot find symbol
[ERROR] symbol: class RecommendedItem
[ERROR] location: class org.apache.mahout.SampleRecommender
[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
Is there any thing wrong in my code?
Why do they say cannot find symbol?
You are missing mahout-core as your dependency. Please add below ,it should work.
<dependency>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout-core</artifactId>
<version>0.9</version>
</dependency>
Check for the version compatibility and add the respective version if the above doesn't work.
I can compile zxing which is included as an AndroidLibrary to my project without problem through intellij idea, but when I want to compile it with maven, it gives errors. Here is my pom.xml and the error
POM.XML
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.somecompany.zxing</groupId>
<artifactId>zxing</artifactId>
<version>1.0.0</version>
<packaging>apklib</packaging>
<name>zxing library</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<platform.version>4.1.1.4</platform.version>
<sdk_path>D:\Android</sdk_path>
</properties>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>${platform.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>support-v4</artifactId>
<version>r7</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<sdk>
<platform>10</platform>
<path>${sdk_path}</path>
</sdk>
<dexOptimize>false</dexOptimize>
<dex>
<preDex>false</preDex>
<preDexLibLocation>/tmp/predexedLibs</preDexLibLocation>
</dex>
<dexCoreLibrary>true</dexCoreLibrary>
</configuration>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
THE ERROR
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building zxing library 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # zxing ---
[INFO] Deleting D:\Projects\Inherd\Libraries\trunk\zxing\target
[INFO]
[INFO] --- android-maven-plugin:3.8.0:generate-sources (default-generate-sources) # zxing ---
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] D:\Android\build-tools\19.0.1\aapt.exe [package, --non-constant-id, -m, -J, D:\Projects\Inherd\Libraries\trunk\zxing\target\generated-sources\r, -M, D:\Projects\Inherd\Libraries\trunk\zxing\AndroidManifest.xml, -S, D:\Projects\Inherd\Libraries\trunk\zxing\res, --auto-add-overlay, -A, D:\Projects\Inherd\Libraries\trunk\zxing\assets, -I, D:\Android\platforms\android-10\android.jar]
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # zxing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] skip non existing resourceDirectory D:\Projects\Inherd\Libraries\trunk\zxing\target\generated-sources\extracted-dependencies\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # zxing ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 78 source files to D:\Projects\Inherd\Libraries\trunk\zxing\target\classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/share/ShareActivity.java: Some input files use or override a deprecated API.
[WARNING] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/share/ShareActivity.java: Recompile with -Xlint:deprecation for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/camera/CameraManager.java:[26,24] cannot find symbol
symbol: class PlanarYUVLuminanceSource
location: package com.google.zxing
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/camera/CameraManager.java:[300,10] cannot find symbol
symbol: class PlanarYUVLuminanceSource
location: class com.google.zxing.client.android.camera.CameraManager
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHandler.java:[23,24] cannot find symbol
symbol: class PlanarYUVLuminanceSource
location: package com.google.zxing
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHandler.java:[110,39] cannot find symbol
symbol: class PlanarYUVLuminanceSource
location: class com.google.zxing.client.android.DecodeHandler
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[141,19] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[147,19] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[152,19] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[157,19] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[172,19] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[194,80] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[218,21] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[223,23] cannot find symbol
symbol: method getValueType()
location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/CaptureActivity.java:[745,76] cannot find symbol
symbol: variable UPC_EAN_EXTENSION
location: class com.google.zxing.ResultMetadataType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/CaptureActivity.java:[748,88] cannot find symbol
symbol: variable UPC_EAN_EXTENSION
location: class com.google.zxing.ResultMetadataType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/camera/CameraManager.java:[306,16] cannot find symbol
symbol: class PlanarYUVLuminanceSource
location: class com.google.zxing.client.android.camera.CameraManager
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHandler.java:[78,5] cannot find symbol
symbol: class PlanarYUVLuminanceSource
location: class com.google.zxing.client.android.DecodeHandler
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/wifi/WifiConfigManager.java:[131,35] cannot find symbol
symbol: method isHidden()
location: variable wifiResult of type com.google.zxing.client.result.WifiParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/encode/QRCodeEncoder.java:[304,57] cannot find symbol
symbol: method getURLs()
location: variable contact of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[126,33] cannot find symbol
symbol: method getNicknames()
location: variable addressResult of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[138,33] cannot find symbol
symbol: method getURLs()
location: variable addressResult of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[140,33] cannot find symbol
symbol: method getGeo()
location: variable addressResult of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[196,36] cannot find symbol
symbol: method getURLs()
location: variable result of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[65,40] cannot find symbol
symbol: method getOrganizer()
location: variable calendarResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[76,38] cannot find symbol
symbol: method isStartAllDay()
location: variable calendarResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[80,38] cannot find symbol
symbol: method getAttendees()
location: variable calendarResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[150,36] incompatible types
required: java.util.Date
found: java.lang.String
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[151,46] cannot find symbol
symbol: method isStartAllDay()
location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[153,32] incompatible types
required: java.util.Date
found: java.lang.String
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[155,20] cannot find symbol
symbol: method isEndAllDay()
location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[162,48] cannot find symbol
symbol: method isEndAllDay()
location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[166,39] cannot find symbol
symbol: method getOrganizer()
location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[167,39] cannot find symbol
symbol: method getAttendees()
location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/ProductResultHandler.java:[81,55] cannot find symbol
symbol: method getRawText()
location: class com.google.zxing.client.result.ExpandedProductParsedResult
[INFO] 33 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.176s
[INFO] Finished at: Fri Feb 21 10:19:50 EET 2014
[INFO] Final Memory: 24M/351M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project zxing: Compilation failure: Compilation failure:
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/camera/CameraManager.java:[26,24] cannot find symbol
[ERROR] symbol: class PlanarYUVLuminanceSource
[ERROR] location: package com.google.zxing
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/camera/CameraManager.java:[300,10] cannot find symbol
[ERROR] symbol: class PlanarYUVLuminanceSource
[ERROR] location: class com.google.zxing.client.android.camera.CameraManager
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHandler.java:[23,24] cannot find symbol
[ERROR] symbol: class PlanarYUVLuminanceSource
[ERROR] location: package com.google.zxing
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHandler.java:[110,39] cannot find symbol
[ERROR] symbol: class PlanarYUVLuminanceSource
[ERROR] location: class com.google.zxing.client.android.DecodeHandler
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[141,19] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[147,19] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[152,19] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[157,19] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[172,19] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[194,80] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[218,21] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHintManager.java:[223,23] cannot find symbol
[ERROR] symbol: method getValueType()
[ERROR] location: variable hintType of type com.google.zxing.DecodeHintType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/CaptureActivity.java:[745,76] cannot find symbol
[ERROR] symbol: variable UPC_EAN_EXTENSION
[ERROR] location: class com.google.zxing.ResultMetadataType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/CaptureActivity.java:[748,88] cannot find symbol
[ERROR] symbol: variable UPC_EAN_EXTENSION
[ERROR] location: class com.google.zxing.ResultMetadataType
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/camera/CameraManager.java:[306,16] cannot find symbol
[ERROR] symbol: class PlanarYUVLuminanceSource
[ERROR] location: class com.google.zxing.client.android.camera.CameraManager
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/DecodeHandler.java:[78,5] cannot find symbol
[ERROR] symbol: class PlanarYUVLuminanceSource
[ERROR] location: class com.google.zxing.client.android.DecodeHandler
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/wifi/WifiConfigManager.java:[131,35] cannot find symbol
[ERROR] symbol: method isHidden()
[ERROR] location: variable wifiResult of type com.google.zxing.client.result.WifiParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/encode/QRCodeEncoder.java:[304,57] cannot find symbol
[ERROR] symbol: method getURLs()
[ERROR] location: variable contact of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[126,33] cannot find symbol
[ERROR] symbol: method getNicknames()
[ERROR] location: variable addressResult of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[138,33] cannot find symbol
[ERROR] symbol: method getURLs()
[ERROR] location: variable addressResult of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[140,33] cannot find symbol
[ERROR] symbol: method getGeo()
[ERROR] location: variable addressResult of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/AddressBookResultHandler.java:[196,36] cannot find symbol
[ERROR] symbol: method getURLs()
[ERROR] location: variable result of type com.google.zxing.client.result.AddressBookParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[65,40] cannot find symbol
[ERROR] symbol: method getOrganizer()
[ERROR] location: variable calendarResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[76,38] cannot find symbol
[ERROR] symbol: method isStartAllDay()
[ERROR] location: variable calendarResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[80,38] cannot find symbol
[ERROR] symbol: method getAttendees()
[ERROR] location: variable calendarResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[150,36] incompatible types
[ERROR] required: java.util.Date
[ERROR] found: java.lang.String
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[151,46] cannot find symbol
[ERROR] symbol: method isStartAllDay()
[ERROR] location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[153,32] incompatible types
[ERROR] required: java.util.Date
[ERROR] found: java.lang.String
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[155,20] cannot find symbol
[ERROR] symbol: method isEndAllDay()
[ERROR] location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[162,48] cannot find symbol
[ERROR] symbol: method isEndAllDay()
[ERROR] location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[166,39] cannot find symbol
[ERROR] symbol: method getOrganizer()
[ERROR] location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/CalendarResultHandler.java:[167,39] cannot find symbol
[ERROR] symbol: method getAttendees()
[ERROR] location: variable calResult of type com.google.zxing.client.result.CalendarParsedResult
[ERROR] /D:/Projects/Inherd/Libraries/trunk/zxing/src/main/java/com/google/zxing/client/android/result/ProductResultHandler.java:[81,55] cannot find symbol
[ERROR] symbol: method getRawText()
[ERROR] location: class com.google.zxing.client.result.ExpandedProductParsedResult
[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
Looks like you are using a very old version of the library in your dependencies (2.0).
See http://search.maven.org/#artifactdetails%7Ccom.google.zxing%7Ccore%7C2.3.0%7Cjar
the latest and correct version of pom.xml
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.a.zxing</groupId>
<artifactId>zxing</artifactId>
<version>1.0.0</version>
<packaging>apklib</packaging>
<name>zxing library</name>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>${android.platform.version}</version>
<!--<exclusions>
<exclusion>
<artifactId>xpp3</artifactId>
<groupId>xpp3</groupId>
</exclusion>
</exclusions>-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>support-v4</artifactId>
<version>r7</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<sdk>
<platform>${android.sdk.platform}</platform>
<path>${android.sdk.path}</path>
</sdk>
<dexOptimize>false</dexOptimize>
<dex>
<preDex>false</preDex>
<preDexLibLocation>/tmp/predexedLibs</preDexLibLocation>
</dex>
<dexCoreLibrary>true</dexCoreLibrary>
</configuration>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals><goal>add-source</goal></goals>
<configuration>
<sources>
<source>srccore</source>
<!-- <source>gen</source>-->
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>