hi Jin, Could you tell us your scala and java verison?
Thanks, William On Fri, Jun 15, 2018 at 4:57 PM, Jin Liu <liu...@vmware.com> wrote: > Hi, > > I hit build failure recently below, who knows how to fix it > > [WARNING] Expected all dependencies to require Scala version: 2.11.8 > [WARNING] org.apache.griffin:measure:0.2.0-incubating-SNAPSHOT requires > scala version: 2.11.8 > [WARNING] com.twitter:chill_2.11:0.8.0 requires scala version: 2.11.7 > [WARNING] Multiple versions of scala libraries detected! > [INFO] includes = [**/*.java,**/*.scala,] > [INFO] excludes = [] > [INFO] /home/king/source/github/incubator-griffin/measure/src/main/scala:-1: > info: compiling > [INFO] Compiling 124 source files to /home/king/source/github/ > incubator-griffin/measure/target/classes at 1529052254149 > [ERROR] error: error while loading <root>, Error accessing > /home/king/.m2/repository/com/esotericsoftware/kryo-shaded/ > 3.0.3/kryo-shaded-3.0.3.jar > [ERROR] error: scala.reflect.internal.MissingRequirementError: object > java.lang.Object in compiler mirror not found. > [ERROR] at scala.reflect.internal.MissingRequirementError$.signal( > MissingRequirementError.scala:17) > [ERROR] at scala.reflect.internal.MissingRequirementError$. > notFound(MissingRequirementError.scala:18) > [INFO] at scala.reflect.internal.Mirrors$RootsBase. > getModuleOrClass(Mirrors.scala:53) > [INFO] at scala.reflect.internal.Mirrors$RootsBase. > getModuleOrClass(Mirrors.scala:45) > [INFO] at scala.reflect.internal.Mirrors$RootsBase. > getModuleOrClass(Mirrors.scala:45) > [INFO] at scala.reflect.internal.Mirrors$RootsBase. > getModuleOrClass(Mirrors.scala:66) > [INFO] at scala.reflect.internal.Mirrors$RootsBase. > getClassByName(Mirrors.scala:102) > [INFO] at scala.reflect.internal.Mirrors$RootsBase. > getRequiredClass(Mirrors.scala:105) > [INFO] at scala.reflect.internal.Definitions$DefinitionsClass. > ObjectClass$lzycompute(Definitions.scala:257) > [INFO] at scala.reflect.internal.Definitions$DefinitionsClass. > ObjectClass(Definitions.scala:257) > [INFO] at scala.reflect.internal.Definitions$DefinitionsClass. > init(Definitions.scala:1394) > [INFO] at scala.tools.nsc.Global$Run.<init>(Global.scala:1215) > [INFO] at scala.tools.nsc.Driver.doCompile(Driver.scala:31) > [INFO] at scala.tools.nsc.MainClass.doCompile(Main.scala:23) > [INFO] at scala.tools.nsc.Driver.process(Driver.scala:51) > [INFO] at scala.tools.nsc.Driver.main(Driver.scala:64) > [INFO] at scala.tools.nsc.Main.main(Main.scala) > [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) > [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > [INFO] at java.lang.reflect.Method.invoke(Method.java:498) > [INFO] at org_scala_tools_maven_executions.MainHelper.runMain( > MainHelper.java:161) > [INFO] at org_scala_tools_maven_executions.MainWithArgsInFile. > main(MainWithArgsInFile.java:26) > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Griffin 0.2.0-incubating-SNAPSHOT ........... SUCCESS [ > 1.456 s] > [INFO] Apache Griffin :: UI :: Default UI ................. SUCCESS [01:01 > min] > [INFO] Apache Griffin :: Web Service ...................... SUCCESS [01:00 > min] > [INFO] Apache Griffin :: Measures ......................... FAILURE [ > 6.686 s] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 02:10 min > [INFO] Finished at: 2018-06-15T16:44:15+08:00 > [INFO] Final Memory: 84M/793M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal > org.scala-tools:maven-scala-plugin:2.15.2:compile > (compile) on project measure: wrap: org.apache.commons.exec.ExecuteException: > Process exited with an error: 1(Exit value: 1) -> [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/ > MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :measure >