GeoMesa插件(WFS / WMS / WPS)构建失败

时间:2014-07-15 12:33:56

标签: maven pom.xml maven-plugin wms geomesa

我正在使用maven构建Geomesa并遇到以下错误。除了支持WMS / WFS服务的geossa插件外,整个版本都很好。

[ERROR] error: error while loading <root>, error in opening zip file 
[ERROR] error: scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found. 
[ERROR]     at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16) 
[ERROR]     at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17) 
[ERROR]     at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48) 
[ERROR]     at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40) 
[ERROR]     at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61) 
[ERROR]     at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172) 
[ERROR]     at scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.scala:175) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lzycompute(Definitions.scala:183) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(Definitions.scala:183) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass$lzycompute(Definitions.scala:184) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass(Definitions.scala:184) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr$lzycompute(Definitions.scala:1024) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr(Definitions.scala:1023) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses$lzycompute(Definitions.scala:1153) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses(Definitions.scala:1152) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode$lzycompute(Definitions.scala:1196) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode(Definitions.scala:1196) 
[ERROR]     at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1261) 
[ERROR]     at scala.tools.nsc.Global$Run.<init>(Global.scala:1290) 
[ERROR]     at scala.tools.nsc.Driver.doCompile(Driver.scala:32) 
[ERROR]     at scala.tools.nsc.Main$.doCompile(Main.scala:79) 
[ERROR]     at scala.tools.nsc.Driver.process(Driver.scala:54) 
[ERROR]     at scala.tools.nsc.Driver.main(Driver.scala:67) 
[ERROR]     at scala.tools.nsc.Main.main(Main.scala) 
[ERROR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[ERROR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
[ERROR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[ERROR]     at java.lang.reflect.Method.invoke(Method.java:606) 
[ERROR]     at scala_maven_executions.MainHelper.runMain(MainHelper.java:164) 
[ERROR]     at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26) 
[ERROR] 

[INFO] -------------------------------------------- ----------------------------

构建摘要

[INFO] Reactor Summary: 
[INFO] 
[INFO] GeoMesa - [Accumulo 1.5.x] ........................ SUCCESS [9.033s] 
[INFO] GeoMesa Utils - [Accumulo 1.5.x] .................. SUCCESS [4:28.300s] 
[INFO] GeoMesa Filters and Functions - [Accumulo 1.5.x] .. SUCCESS [22.596s] 
[INFO] GeoMesa Avro SimpleFeature - [Accumulo 1.5.x] ..... SUCCESS [2:51.698s] 
[INFO] GeoMesa Core - [Accumulo 1.5.x] ................... SUCCESS [33:01.644s] 
[INFO] GeoMesa Distributed Runtime - [Accumulo 1.5.x] .... SUCCESS [1:34.394s] 
[INFO] GeoMesa Plugin (WFS/WMS/WPS) - [Accumulo 1.5.x] ... FAILURE [5:56.617s] 
[INFO] GeoMesa Distribution tar.gz - [Accumulo 1.5.x] .... SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 48:26.897s 
[INFO] Finished at: Mon Jul 14 18:56:13 IST 2014 
[INFO] Final Memory: 23M/165M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile (scala-compile-first) on project geomesa-plugin-accumulo1.5: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1] 

2 个答案:

答案 0 :(得分:0)

查询已解决。 错误发生在maven repository中的asm文件中。我刚刚从maven存储库下载了asm-3.1.jar和asm-3.1.pom文件,并替换了我本地maven存储库中的文件。

答案 1 :(得分:0)

错误发生在maven存储库中的asm文件中。请从maven存储库下载asm-3.1.jar和asm-3.1.pom文件并替换那些