Details
-
Sub-task
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Description
Problem
With version scala-maven-plugin in version 3.2.1, building the dmn fails with the following exception
[ERROR] error: error while loading Object, Missing dependency 'object scala.native in compiler mirror', required by /modules/java.base/java/lang/Object.class [ERROR] error: scala.reflect.internal.MissingRequirementError: object scala in compiler mirror not found. [ERROR] at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:24) [ERROR] at scala.reflect.internal.Mirrors$RootsBase.$anonfun$getModuleOrClass$6(Mirrors.scala:66) [ERROR] at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:66) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackage$lzycompute(Definitions.scala:195) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackage(Definitions.scala:195) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackageClass$lzycompute(Definitions.scala:196) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackageClass(Definitions.scala:196) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.AnyClass$lzycompute(Definitions.scala:284) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.AnyClass(Definitions.scala:284) [ERROR] at scala.tools.nsc.symtab.classfile.ClassfileParser$ClassTypeCompleter.complete(ClassfileParser.scala:1273) [ERROR] at scala.reflect.internal.Symbols$Symbol.completeInfo(Symbols.scala:1544) [ERROR] at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1517) [ERROR] at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1691) [ERROR] at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1585) [ERROR] at scala.tools.nsc.Global$Run.<init>(Global.scala:1205) [ERROR] at scala.tools.nsc.Driver.doCompile(Driver.scala:47) [ERROR] at scala.tools.nsc.MainClass.doCompile(Main.scala:30) [ERROR] at scala.tools.nsc.Driver.process(Driver.scala:68) [ERROR] at scala.tools.nsc.Driver.main(Driver.scala:82) [ERROR] at scala.tools.nsc.Main.main(Main.scala) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:567) [ERROR] at scala_maven_executions.MainHelper.runMain(MainHelper.java:164) [ERROR] at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
Solution
- Update scala-maven-plugin to version 4.3.1
- This version requires a Maven version >= 3.3.9 which is not available in our CI
The plugin net.alchim31.maven:scala-maven-plugin:4.3.1 requires Maven version 3.3.9 -> [Help 1]
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- is related to
-
CAM-11342 Investigate why scala feel integration fails when scala-doc is executed
- Closed