camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Poth (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10904) Scala fails on JAVA 9
Date Mon, 06 Mar 2017 09:22:33 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Poth resolved CAMEL-10904.
-------------------------------
    Resolution: Fixed

> Scala fails on JAVA 9
> ---------------------
>
>                 Key: CAMEL-10904
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10904
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-scala, camel-swagger, examples
>            Reporter: John Poth
>            Assignee: John Poth
>            Priority: Minor
>
> It seems that Scala isn't [ready|https://github.com/scala/scala-dev/issues/139] for Java
9 yet. We might move it to camel-extra.
> Other scala modules include camel-swagger (deprecated) and camel-example-scala.
> {code}
> [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)
> [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:53)
> [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
> [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
> [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:66)
> [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:102)
> [ERROR] 	at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:105)
> [ERROR] 	at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass$lzycompute(Definitions.scala:257)
> [ERROR] 	at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass(Definitions.scala:257)
> [ERROR] 	at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1394)
> [ERROR] 	at scala.tools.nsc.Global$Run.<init>(Global.scala:1215)
> [ERROR] 	at scala.tools.nsc.Driver.doCompile(Driver.scala:31)
> [ERROR] 	at scala.tools.nsc.MainClass.doCompile(Main.scala:23)
> [ERROR] 	at scala.tools.nsc.Driver.process(Driver.scala:51)
> [ERROR] 	at scala.tools.nsc.Driver.main(Driver.scala:64)
> [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:543)
> [ERROR] 	at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
> [ERROR] 	at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message