Unity FAILURE: Build failed with an exception. ':launcher:checkDebugDuplicateClasses' - unity3d

This is the error it gives me when I try to build to android
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':launcher:checkDebugDuplicateClasses'.
> 1 exception was raised by workers:
> java.lang.RuntimeException: Duplicate class com.unity3d.ads.BuildConfig found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.IUnityAdsInitializationListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.IUnityAdsLoadListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.IUnityAdsShowListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.IUnityAdsTokenListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAds found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAds$UnityAdsInitializationError found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAds$UnityAdsLoadError found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAds$UnityAdsShowCompletionState found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAds$UnityAdsShowError found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAdsBaseOptions found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAdsLoadOptions found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.UnityAdsShowOptions found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.metadata.InAppPurchaseMetaData found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.metadata.MediationMetaData found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.metadata.MetaData found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.ads.metadata.PlayerMetaData found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.BuildConfig found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.DispatchGroup found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.GMAAdsError found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.GMAEvent found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.IAdsErrorHandler found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.IScarAdListenerWrapper found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.IScarAdapter found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.IScarInterstitialAdListenerWrapper found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.IScarRewardedAdListenerWrapper found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.IUnityAdsError found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.ScarAdapterBase found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.Utils found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.WebViewAdsError found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.scarads.IScarAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.scarads.IScarLoadListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.scarads.ScarAdMetadata found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.common.signals.ISignalCollectionListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.BuildConfig found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.ScarAdapter found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarAdBase found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarInterstitialAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarInterstitialAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarRewardedAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarRewardedAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1920.signals.QueryInfoCallback found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.BuildConfig found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.ScarAdapter found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.scarads.ScarAdBase found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.scarads.ScarInterstitialAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.scarads.ScarInterstitialAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.scarads.ScarRewardedAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.scarads.ScarRewardedAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v1950.signals.QueryInfoCallback found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.BuildConfig found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.ScarAdapter found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.scarads.ScarAdBase found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.scarads.ScarAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.scarads.ScarInterstitialAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.scarads.ScarInterstitialAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.scarads.ScarRewardedAd found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.scarads.ScarRewardedAdListener found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.scar.adapter.v2000.signals.QueryInfoCallback found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.services.ads.adunit.AdUnitActivity found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.services.ads.adunit.AdUnitSoftwareActivity found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.services.ads.adunit.AdUnitTransparentActivity found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicate class com.unity3d.services.ads.adunit.AdUnitTransparentSoftwareActivity found in modules UnityAds-runtime.jar (:UnityAds:) and com.unity3d.ads.unity-ads-4.5.0-runtime.jar (:com.unity3d.ads.unity-ads-4.5.0:)
> Duplicat\<message truncated\>
I do not understand what this is saying. From the small amounts I understand however, it seems like I have two copies of an Ads package. It doesn't make sense because I uninstalled the Unity Mediation Ads Package, and now only have 1 Ads package from the Package Manager. Do note that build works on Windows and WEBGL however

Related

Can't run Play in dev mode under Ubuntu

I've tried to run the project 'play-scala' from activator projects with the following:
ran 'activator new' a console, choosed 'play-scala' template, 'activator run' in the project folder.
But I always get the exception:
java.lang.RuntimeException: No main class detected.
at scala.sys.package$.error(package.scala:27)
at sbt.Defaults$$anonfun$runTask$1$$anonfun$apply$38$$anonfun$apply$39$$anonfun$29.apply(Defaults.scala:749)
at sbt.Defaults$$anonfun$runTask$1$$anonfun$apply$38$$anonfun$apply$39$$anonfun$29.apply(Defaults.scala:749)
at scala.Option.getOrElse(Option.scala:120)
at sbt.Defaults$$anonfun$runTask$1$$anonfun$apply$38$$anonfun$apply$39.apply(Defaults.scala:749)
at sbt.Defaults$$anonfun$runTask$1$$anonfun$apply$38$$anonfun$apply$39.apply(Defaults.scala:748)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
My env:
Ubuntu 16.04 LTS, Scala 2.12.1, sbt 0.13.13, OpenJDK 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14.
It's fixed by removing the folder .sbt in home directory.

Eclipse 3.4 + Sonar

First time I'm posting here. I've always used S.O. and finally decided to make an account so I can be part of this.
Now, to the question. :)
Currently, I'm using RAD 7.5.4 (Eclipse 4.3) and I'm trying to install Sonar's plugin to my IDE but I keep getting errors while I try to install it from the IDE:
Cannot complete the request. See the details. Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/3.6.0
Unsatisfied dependency: [org.sonar.ide.eclipse.ui
3.4.0.20140404-0949-RELEASE] requiredCapability: osgi.bundle/org.eclipse.core.databinding.property/0.0.0 Unsatisfied
dependency: [org.sonar.ide.eclipse.ui 3.4.0.20140404-0949-RELEASE]
requiredCapability:
osgi.bundle/org.eclipse.core.databinding.property/0.0.0 Unsatisfied
dependency: [org.sonar.ide.eclipse.ui 3.4.0.20140404-0949-RELEASE]
requiredCapability:
osgi.bundle/org.eclipse.core.databinding.property/0.0.0 Unsatisfied
dependency: [org.sonar.ide.eclipse.jdt 3.4.0.20140404-0949-RELEASE]
requiredCapability: osgi.bundle/org.sonar.ide.eclipse.ui/0.0.0
Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.sonar.ide.eclipse.jdt/[3.4.0.20140404-0949-RELEASE,3.4.0.20140404-0949-RELEASE]
Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/3.6.0
Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.sonar.ide.eclipse.ui/[3.4.0.20140404-0949-RELEASE,3.4.0.20140404-0949-RELEASE]
From what I've looked, this is not possible since Sonar doesn't give support for Eclipse 4.3. Maybe I've skipped something here, so... is there any way I can get Sonar's plugin to work in my RAD?
Thanks in advance.
Unfortunately, this is not possible. As the documentation specifies it, only versions > 3.7 are supported.

import sbt project to intellij result akka.actor.InvalidActorNameException

I am trying to import existing sbt project to intellij
I am getting this error :
akka.actor.InvalidActorNameException: actor name [simple-service-actor] is not unique!
at akka.actor.dungeon.ChildrenContainer$NormalChildrenContainer.reserve(ChildrenContainer.scala:130)
at akka.actor.dungeon.Children$class.reserveChild(Children.scala:77)
at akka.actor.ActorCell.reserveChild(ActorCell.scala:369)
at akka.actor.dungeon.Children$class.makeChild(Children.scala:202)
at akka.actor.dungeon.Children$class.attachChild(Children.scala:42)
at akka.actor.ActorCell.attachChild(ActorCell.scala:369)
at akka.actor.ActorSystemImpl.actorOf(ActorSystem.scala:552)
at spray.routing.SimpleRoutingApp$class.startServer(SimpleRoutingApp.scala:52)
at com.lihaoyi.workbench.Plugin$.startServer(Plugin.scala:16)
at com.lihaoyi.workbench.Plugin$$anonfun$6.apply(Plugin.scala:97)
at com.lihaoyi.workbench.Plugin$$anonfun$6.apply(Plugin.scala:97)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175)
at sbt.EvaluateSettings$INode.evaluate(INode.scala:134)
at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:66)
at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:75)
at sbt.EvaluateSettings$$anon$3.run(INode.scala:71)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[error] akka.actor.InvalidActorNameException: actor name [simple-service-actor] is not unique!
[error] Use 'last' for the full log.
However the project compiles and run when using sbt command line

How to build MongoDB connector for hadoop latest version (1.2.1)

I'm trying to build the MongoDB connector for Hadoop 1.2.1 from the montogdb instruction page (https://github.com/mongodb/mongo-hadoop) but i'm getting following error. one thing to mention, hadoop 1.2.1 is not included in the list of supported version. I tried to install 1.1 but it is not included in hadoop download page or any of the mirrors, anyone has an ideal if it is possible to build the connector for hadoop 1.2.1?
sbt.ResolveException: unresolved dependency: commons-logging#commons-logging;1.1.1: configuration not found in commons-logging#commons-logging;1.1.1: 'compile'. It was required from commons-configuration#commons-configuration;1.6 compile
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:214)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:102)
at sbt.IvySbt.liftedTree1$1(Ivy.scala:49)
at sbt.IvySbt.action$1(Ivy.scala:49)
at sbt.IvySbt$$anon$3.call(Ivy.scala:58)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:58)
at sbt.IvySbt.withIvy(Ivy.scala:99)
at sbt.IvySbt.withIvy(Ivy.scala:95)
at sbt.IvySbt$Module.withModule(Ivy.scala:114)
at sbt.IvyActions$.update(IvyActions.scala:121)
at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:951)
at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:949)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:972)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:970)
at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:974)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:969)
at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
at sbt.Classpaths$.cachedUpdate(Defaults.scala:977)
at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:856)
at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:853)
at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
at sbt.std.Transform$$anon$5.work(System.scala:71)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:238)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
[error] (mongo-hadoop-core/*:update) sbt.ResolveException: unresolved dependency: commons-logging#commons-logging;1.1.1: configuration not found in commons-logging#commons-logging;1.1.1: 'compile'. It was required from commons-configuration#commons-configuration;1.6 compile
[error] Total time: 18 s, completed Sep 3, 2013 8:04:37 PM
thanks so much
You can find older hadoop releases on the archive server. I was able to get the mongodb hadoop connector working with version 1.1.2.
http://archive.apache.org/dist/hadoop/core/ or there's an archive link at the top of the page on any mirror.

GlassFish deploy errors from NetBeans

I got this project that I am trying to deploy out of the box into GlassFish (that came with netbeans) and I keep getting a ClassNotFoundException. I did go to my webproject in NetBeans -> right click -> properties and then to libraries and I set up all the jars (or the folders) where this class that it cannot find should exsist. Now I admit I am totally new to GlassFish and NetBeans (inherited a project at work) but cannot figure out why, even though it exsists in the libraries, (im guessing thats setting the classpath for the project ) that its coming up with the error. I am pasting the error and I have a good handle (I thought) what it means, cannot find the class, so I'm missing the jar or folder of class files etc...but its still erroring out.... and I am confused...plus I swore it was deploying just fine last week and I didn't change anything.
So just to verify is it indeed the ia.authentication.UserAuthorizer that it cannot find?
Does configuring the path to the source/jar file in the project properties /libraries tab in netbeans not guarantee it gets copied to where its deployed? I think though this is a glassfish error. Maybe that just isnt set up right...
Complete Message:
14 Nov 2011 15:35:13 [ERROR] org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'userAuthorizer' defined in class path resource [applicationContext.xml]: Bean class [ia.authentication.UserAuthorizer] not found; nested exception is java.lang.ClassNotFoundException: ia.authentication.UserAuthorizer java.lang.ClassNotFoundException: ia.authentication.UserAuthorizer at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1519) at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.springframework.util.ClassUtils.forName(ClassUtils.java:109) at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:466) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:432) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:347) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:197) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:129) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:145) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:252) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750) at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366) at com.sun.enterprise.web.WebModule.start(WebModule.java:498) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722)