activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Allard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-391) Apollo won't compile against scala in centOS linux
Date Wed, 11 May 2016 17:30:13 GMT

    [ https://issues.apache.org/jira/browse/APLO-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280483#comment-15280483
] 

Guy Allard commented on APLO-391:
---------------------------------

I recently had this problem.

On a hunch, I switched the java compiler environment from 1.8 back to 1.7.

That took care of my particular problem.

Good luck.


> Apollo won't compile against scala in centOS linux
> --------------------------------------------------
>
>                 Key: APLO-391
>                 URL: https://issues.apache.org/jira/browse/APLO-391
>             Project: ActiveMQ Apollo
>          Issue Type: Dependency upgrade
>          Components: apollo-broker
>    Affects Versions: 1.7
>         Environment: centOS 6.5, scala-2.11.7.rpm,
>            Reporter: Mustafa Talaeezadeh Khouzani
>            Priority: Blocker
>              Labels: centOS, linux, newbie, scala
>
> Here is bash the output:
> {code:title=terminal output|borderStyle=solid}
> [root@localhost bin]# ./apollo create mybroker
> Exception in thread "main" java.lang.NoClassDefFoundError: scala.collection.mutable.WrappedArray
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at scala.collection.mutable.WrappedArray$.<init>(WrappedArray.scala:91)
>    at scala.collection.mutable.WrappedArray$.<clinit>(WrappedArray.scala)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at scala.LowPriorityImplicits.genericWrapArray(LowPriorityImplicits.scala:65)
>    at scala.collection.immutable.Set$Set4.$plus(Set.scala:127)
>    at scala.collection.immutable.Set$Set4.$plus(Set.scala:121)
>    at scala.collection.mutable.SetBuilder.$plus$eq(SetBuilder.scala:24)
>    at scala.collection.mutable.SetBuilder.$plus$eq(SetBuilder.scala:22)
>    at scala.collection.generic.Growable$$anonfun$$plus$plus$eq$1.apply(Growable.scala:48)
>    at scala.collection.generic.Growable$$anonfun$$plus$plus$eq$1.apply(Growable.scala:48)
>    at scala.collection.immutable.List.foreach(List.scala:309)
>    at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
>    at scala.collection.mutable.SetBuilder.$plus$plus$eq(SetBuilder.scala:22)
>    at scala.collection.TraversableLike$class.to(TraversableLike.scala:629)
>    at scala.collection.AbstractTraversable.to(Traversable.scala:105)
>    at scala.collection.TraversableOnce$class.toSet(TraversableOnce.scala:253)
>    at scala.collection.AbstractTraversable.toSet(Traversable.scala:105)
>    at scala.runtime.ScalaRunTime$.<init>(ScalaRunTime.scala:50)
>    at scala.runtime.ScalaRunTime$.<clinit>(ScalaRunTime.scala)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at scala.collection.mutable.HashTable$HashUtils$class.elemHashCode(HashTable.scala:398)
>    at scala.collection.mutable.HashMap.elemHashCode(HashMap.scala:39)
>    at scala.collection.mutable.HashTable$class.findOrAddEntry(HashTable.scala:161)
>    at scala.collection.mutable.HashMap.findOrAddEntry(HashMap.scala:39)
>    at scala.collection.mutable.HashMap.put(HashMap.scala:75)
>    at scala.collection.mutable.HashMap.update(HashMap.scala:80)
>    at scala.sys.SystemProperties$.addHelp(SystemProperties.scala:64)
>    at scala.sys.SystemProperties$.bool(SystemProperties.scala:68)
>    at scala.sys.SystemProperties$.noTraceSupression$lzycompute(SystemProperties.scala:80)
>    at scala.sys.SystemProperties$.noTraceSupression(SystemProperties.scala:80)
>    at scala.util.control.NoStackTrace$.<init>(NoStackTrace.scala:31)
>    at scala.util.control.NoStackTrace$.<clinit>(NoStackTrace.scala)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at scala.util.control.NoStackTrace$class.fillInStackTrace(NoStackTrace.scala:22)
>    at scala.util.control.BreakControl.fillInStackTrace(Breaks.scala:93)
>    at java.lang.Throwable.<init>(libgcj.so.10)
>    at java.lang.Throwable.<init>(libgcj.so.10)
>    at scala.util.control.BreakControl.<init>(Breaks.scala:93)
>    at scala.util.control.Breaks.<init>(Breaks.scala:28)
>    at scala.collection.Traversable$.<init>(Traversable.scala:96)
>    at scala.collection.Traversable$.<clinit>(Traversable.scala)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at scala.package$.<init>(package.scala:46)
>    at scala.package$.<clinit>(package.scala)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at scala.Predef$.<init>(Predef.scala:90)
>    at scala.Predef$.<clinit>(Predef.scala)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    at org.apache.activemq.apollo.cli.Apollo.run(Apollo.scala:110)
>    at org.apache.activemq.apollo.cli.Apollo$.main(Apollo.scala:60)
>    at org.apache.activemq.apollo.cli.Apollo.main(Apollo.scala)
>    at java.lang.reflect.Method.invoke(libgcj.so.10)
>    at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:107)
> Caused by: java.lang.ClassFormatError: scala.collection.parallel.mutable.ParArray (erroneous
type descriptor)
>    at java.lang.VMClassLoader.defineClass(libgcj.so.10)
>    at java.lang.ClassLoader.defineClass(libgcj.so.10)
>    at java.security.SecureClassLoader.defineClass(libgcj.so.10)
>    at java.net.URLClassLoader.findClass(libgcj.so.10)
>    at java.lang.ClassLoader.loadClass(libgcj.so.10)
>    at java.lang.ClassLoader.loadClass(libgcj.so.10)
>    at java.lang.Class.initializeClass(libgcj.so.10)
>    ...54 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message