Uploaded image for project: 'ActiveMQ Apollo'
  1. ActiveMQ Apollo
  2. APLO-391

Apollo won't compile against scala in centOS linux

    XMLWordPrintableJSON

Details

    • Dependency upgrade
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.7
    • None
    • apollo-broker
    • centOS 6.5, scala-2.11.7.rpm,

    Description

      Here is bash the output:

      terminal output
      [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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            cunnings Mustafa Talaeezadeh Khouzani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: