Brilliant, thank you! On Wednesday, July 29, 2015 at 1:52:08 PM UTC-7, sfos...@twilio.com wrote: > > The subject pretty much says it all. I have the following in my pom: > > <!-- akka --> > <dependency> > <groupId>com.typesafe.akka</groupId> > <artifactId>akka-actor_${scala.binary.version}</artifactId> > <version>2.3.9</version> > </dependency> > > <dependency> > <groupId>com.typesafe.akka</groupId> > <artifactId>akka-slf4j_${scala.binary.version}</artifactId> > <version>2.3.12</version> > </dependency> > > <dependency> > <groupId>com.typesafe.akka</groupId> > <artifactId>akka-stream-experimental_${scala.binary.version}</artifactId> > <version>1.0</version> > </dependency> > > <dependency> > <groupId>com.typesafe.akka</groupId> > <artifactId>akka-http-experimental_${scala.binary.version}</artifactId> > <version>1.0</version> > </dependency> > > <dependency> > <groupId>com.typesafe.akka</groupId> > > <artifactId>akka-http-core-experimental_${scala.binary.version}</artifactId> > <version>1.0</version> > </dependency> > > <dependency> > <groupId>com.typesafe.akka</groupId> > > <artifactId>akka-http-spray-json-experimental_${scala.binary.version}</artifactId> > <version>1.0</version> > </dependency> > > > I have a lot of dependencies, but I'm pretty sure I've excluded things such > that no other version of akka is being brought in (per mvn dependency:tree). > > > java.lang.NoClassDefFoundError: akka/japi/function/Function > at java.net.URLClassLoader$1.run(URLClassLoader.java:372) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:360) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:760) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:455) > at java.net.URLClassLoader.access$100(URLClassLoader.java:73) > at java.net.URLClassLoader$1.run(URLClassLoader.java:367) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:360) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > at akka.stream.Supervision$.<init>(Supervision.scala:58) > at akka.stream.Supervision$.<clinit>(Supervision.scala) > at > akka.stream.ActorMaterializerSettings$.apply(ActorMaterializer.scala:228) > at > akka.stream.ActorMaterializerSettings$.apply(ActorMaterializer.scala:215) > at > akka.stream.ActorMaterializer$$anonfun$1.apply(ActorMaterializer.scala:37) > at > akka.stream.ActorMaterializer$$anonfun$1.apply(ActorMaterializer.scala:37) > at scala.Option.getOrElse(Option.scala:121) > at akka.stream.ActorMaterializer$.apply(ActorMaterializer.scala:37) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite$$anon$1.<init>(FlowFactoryTestSuite.scala:75) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.withFlowFactory(FlowFactoryTestSuite.scala:73) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite$$anonfun$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(FlowFactoryTestSuite.scala:122) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(FlowFactoryTestSuite.scala:109) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(FlowFactoryTestSuite.scala:109) > at > org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22) > at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85) > at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104) > at org.scalatest.Transformer.apply(Transformer.scala:22) > at org.scalatest.Transformer.apply(Transformer.scala:20) > at org.scalatest.FunSpecLike$$anon$1.apply(FunSpecLike.scala:422) > at org.scalatest.Suite$class.withFixture(Suite.scala:1122) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.withFixture(FlowFactoryTestSuite.scala:39) > at > org.scalatest.FunSpecLike$class.invokeWithFixture$1(FunSpecLike.scala:419) > at > org.scalatest.FunSpecLike$$anonfun$runTest$1.apply(FunSpecLike.scala:431) > at > org.scalatest.FunSpecLike$$anonfun$runTest$1.apply(FunSpecLike.scala:431) > at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306) > at org.scalatest.FunSpecLike$class.runTest(FunSpecLike.scala:431) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.runTest(FlowFactoryTestSuite.scala:39) > at > org.scalatest.FunSpecLike$$anonfun$runTests$1.apply(FunSpecLike.scala:464) > at > org.scalatest.FunSpecLike$$anonfun$runTests$1.apply(FunSpecLike.scala:464) > at > org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413) > at > org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401) > at scala.collection.immutable.List.foreach(List.scala:381) > at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401) > at org.scalatest.SuperEngine.org > $scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390) > at > org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427) > at > org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401) > at scala.collection.immutable.List.foreach(List.scala:381) > at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401) > at org.scalatest.SuperEngine.org > $scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396) > at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483) > at org.scalatest.FunSpecLike$class.runTests(FunSpecLike.scala:464) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.runTests(FlowFactoryTestSuite.scala:39) > at org.scalatest.Suite$class.run(Suite.scala:1424) > at com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.org > $scalatest$FunSpecLike$$super$run(FlowFactoryTestSuite.scala:39) > at org.scalatest.FunSpecLike$$anonfun$run$1.apply(FunSpecLike.scala:468) > at org.scalatest.FunSpecLike$$anonfun$run$1.apply(FunSpecLike.scala:468) > at org.scalatest.SuperEngine.runImpl(Engine.scala:545) > at org.scalatest.FunSpecLike$class.run(FunSpecLike.scala:468) > at com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.org > $scalatest$BeforeAndAfterAll$$super$run(FlowFactoryTestSuite.scala:39) > at > org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:257) > at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:256) > at > com.twilio.messaging.pricingevent.app.FlowFactoryTestSuite.run(FlowFactoryTestSuite.scala:39) > at org.scalatest.junit.JUnitRunner.run(JUnitRunner.scala:99) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) > > > Any help much appreciated. Thanks! >
-- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.