dockerBuild의 충돌
3835 단어 mill-docker
묘사
프로젝트에서 dockerbuild을 시작하려고 시도할 때마다mill --interactive chromosome.jvm.dockerBuild
다음 오류가 발생했습니다.Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at mill.define.Module$Internal.$anonfun$reflect$4(Module.scala:73)
at scala.collection.TraversableLike$WithFilter.$anonfun$map$2(TraversableLike.scala:739)
at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:32)
at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:29)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:194)
at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:738)
at mill.define.Module$Internal.reflect(Module.scala:64)
at mill.define.Module$Internal.reflectAll(Module.scala:76)
at mill.define.Module$Internal.reflectNestedObjects(Module.scala:84)
at mill.main.Resolve.resolve(Resolve.scala:400)
at mill.main.Resolve.$anonfun$resolve$2(Resolve.scala:383)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
at scala.collection.immutable.List.foreach(List.scala:389)
at scala.collection.TraversableLike.map(TraversableLike.scala:234)
at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
at scala.collection.immutable.List.map(List.scala:295)
at mill.main.Resolve.recurse$1(Resolve.scala:383)
at mill.main.Resolve.resolve(Resolve.scala:396)
at mill.main.RunScript$.$anonfun$resolveTasks$4(RunScript.scala:144)
at scala.util.Either.map(Either.scala:350)
at mill.main.RunScript$.$anonfun$resolveTasks$3(RunScript.scala:130)
at scala.collection.immutable.List.map(List.scala:283)
at mill.main.RunScript$.$anonfun$resolveTasks$2(RunScript.scala:129)
at scala.util.Either.flatMap(Either.scala:338)
at mill.main.RunScript$.resolveTasks(RunScript.scala:126)
at mill.main.RunScript$.evaluateTasks(RunScript.scala:187)
at mill.main.RunScript$.$anonfun$runScript$3(RunScript.scala:61)
at ammonite.util.Res$Success.flatMap(Res.scala:61)
at mill.main.RunScript$.runScript(RunScript.scala:60)
at mill.main.MainRunner.$anonfun$runScript$1(MainRunner.scala:86)
at mill.main.MainRunner.watchLoop2(MainRunner.scala:53)
at mill.main.MainRunner.runScript(MainRunner.scala:68)
at mill.MillMain$.main0(MillMain.scala:149)
at mill.MillMain$.main(MillMain.scala:26)
at mill.MillMain.main(MillMain.scala)
Caused by: java.lang.NoClassDefFoundError: ammonite/ops/BasePath
at ammonite.$file.build_2$chromosome$.jvm$lzycompute$1(build.sc:97)
at ammonite.$file.build_2$chromosome$.jvm(build.sc:97)
... 39 more
Caused by: java.lang.ClassNotFoundException: ammonite.ops.BasePath
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
at ammonite.runtime.SpecialClassLoader.findClass(ClassLoaders.scala:215)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 41 more
내 빌드 파일은 다음과 같습니다.토론 #1
에서 실행되는 출력은 무엇입니까mill version
,travis의 구축은 밀0.3.3을 사용하는데 둘 다 해 볼 수 있습니까?토론 #2
#4에 고정Reference
이 문제에 관하여(dockerBuild의 충돌), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://github.com/vic/mill-docker/issues/3텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)