- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我在 eclipse clean+Build 中使用 ANT 时,它不会给我任何错误/问题。
但是,当我使用 Maven 构建时,会出现以下错误:
[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
我已经检查了要求检查 pom.xml 中是否正确提及 Java 版本的解决方案。
我已经在我的 pom.xml 中检查过它是正确的。
我无法理解为什么会发生此错误。
在我的 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>
我正在使用Maven - 3.5.3和java版本“1.8.0_211”
最佳答案
您应该在 POM 中声明所有依赖项。
我猜以 com.splwg
开头的包既不属于您的项目,也不属于 Spark。
这些依赖项必须以某种方式在您的 POM 中声明。
如果这些 jar 不在公共(public) Maven 存储库中,您可以在本地安装它们,或者在私有(private) Maven 存储库中部署或者(如果两者都不可能)引用它们与依赖的 systemPath
属性。
你应该检查maven guide to installing 3rd party JARs .
唯一能够快速包含在这个答案中的肮脏黑客是系统路径依赖。
<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>
我不推荐这种方法,但我猜测您已经在项目中使用了本地依赖项,因此将它们导入到 Maven 中不会引入任何问题。
与其他开发人员共享具有本地依赖项的 POM 并不是一个好主意,您应该选择私有(private) Maven 存储库。
私有(private) Maven 存储库只是一个专用的 Web 应用程序,它允许您上传 jar 作为 Maven Artifact ,然后您可以将其作为依赖项包含在您的 pom 中。
它还有一个好处(如果你愿意)可以代理 Maven 存储库,这样你就可以获得你使用的 Maven Artifact 的本地网络缓存。
有几个本地 Artifact 存储库软件,例如 NEXUS 或 Artifactory,选择一个并遵循其指南。
关于java - 即使 ANT 构建没有给出错误,Maven 也会给出 MojoFailureException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56035213/
我已经使用 vue-cli 两个星期了,直到今天一切正常。我在本地建立这个项目。 https://drive.google.com/open?id=0BwGw1zyyKjW7S3RYWXRaX24tQ
您好,我正在尝试使用 python 库 pytesseract 从图像中提取文本。请找到代码: from PIL import Image from pytesseract import image_
我的错误 /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference
我已经训练了一个模型,我正在尝试使用 predict函数但它返回以下错误。 Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]])
根据Microsoft DataConnectors的信息我想通过 this ODBC driver 创建一个从 PowerBi 到 PostgreSQL 的连接器使用直接查询。我重用了 Micros
我已经为 SoundManagement 创建了一个包,其中有一个扩展 MediaPlayer 的类。我希望全局控制这个变量。这是我的代码: package soundmanagement; impo
我在Heroku上部署了一个应用程序。我正在使用免费服务。 我经常收到以下错误消息。 PG::Error: ERROR: out of memory 如果刷新浏览器,就可以了。但是随后,它又随机发生
我正在运行 LAMP 服务器,这个 .htaccess 给我一个 500 错误。其作用是过滤关键字并重定向到相应的域名。 Options +FollowSymLinks RewriteEngine
我有两个驱动器 A 和 B。使用 python 脚本,我在“A”驱动器中创建一些文件,并运行 powerscript,该脚本以 1 秒的间隔将驱动器 A 中的所有文件复制到驱动器 B。 我在 powe
下面的函数一直返回这个错误信息。我认为可能是 double_precision 字段类型导致了这种情况,我尝试使用 CAST,但要么不是这样,要么我没有做对...帮助? 这是错误: ERROR: i
这个问题已经有答案了: Syntax error due to using a reserved word as a table or column name in MySQL (1 个回答) 已关闭
我的数据库有这个小问题。 我创建了一个表“articoli”,其中包含商品的品牌、型号和价格。 每篇文章都由一个 id (ID_ARTICOLO)` 定义,它是一个自动递增字段。 好吧,现在当我尝试插
我是新来的。我目前正在 DeVry 在线学习中级 C++ 编程。我们正在使用 C++ Primer Plus 这本书,到目前为止我一直做得很好。我的老师最近向我们扔了一个曲线球。我目前的任务是这样的:
这个问题在这里已经有了答案: What is an undefined reference/unresolved external symbol error and how do I fix it?
我的网站中有一段代码有问题;此错误仅发生在 Internet Explorer 7 中。 我没有在这里发布我所有的 HTML/CSS 标记,而是发布了网站的一个版本 here . 如您所见,我在列中有
如果尝试在 USB 设备上构建 node.js 应用程序时在我的树莓派上使用 npm 时遇到一些问题。 package.json 看起来像这样: { "name" : "node-todo",
在 Python 中,您有 None单例,在某些情况下表现得很奇怪: >>> a = None >>> type(a) >>> isinstance(a,None) Traceback (most
这是我的 build.gradle (Module:app) 文件: apply plugin: 'com.android.application' android { compileSdkV
我是 android 的新手,我的项目刚才编译和运行正常,但在我尝试实现抽屉导航后,它给了我这个错误 FAILURE: Build failed with an exception. What wen
谁能解释一下?我想我正在做一些非常愚蠢的事情,并且急切地等待着启蒙。 我得到这个输出: phpversion() == 7.2.25-1+0~20191128.32+debian8~1.gbp108
我是一名优秀的程序员,十分优秀!