I am using sbt assembly to generate a fat jar file...

On Tuesday, 15 March 2016 17:50:52 UTC, abhishek jain wrote:
>
> Hi where did you mention the classpath...
>
> On Friday, 23 November 2012 09:26:55 UTC, Matthieu Ravey wrote:
>>
>> It was indeed a problem in my classpath. Thank you again.
>>
>> Matthieu
>>
>>
>> 2012/11/22 Mathias <[email protected]>
>>
>>> Matthieu,
>>>
>>> apparently you messed up your classpath.
>>> The spray-util module contains a `reference.conf` defining the missing 
>>> config value, if the spray-util.jar cannot be found you'll get this error.
>>> For some reason your spray-can.jar is on the classpath, but the 
>>> spray-util.jar (which is a required dependency) apparently is not there.
>>>
>>> HTH and cheers,
>>> Mathias
>>>
>>>
>>> On Thursday, November 22, 2012 5:37:21 PM UTC+1, Matthieu Ravey wrote:
>>>>
>>>> Hi,
>>>>
>>>> A few days ago I I moved one of my akka application from one directory 
>>>> to another on my computer and since then I can not execute my anymore. I 
>>>> get the following exception :
>>>>
>>>> com.typesafe.config.ConfigException$UnresolvedSubstitution: 
>>>> reference.conf: 107: Could not resolve substitution to a value: 
>>>> ${spray.version}
>>>> com.typesafe.config.ConfigException$UnresolvedSubstitution: 
>>>> reference.conf: 107: Could not resolve substitution to a value: 
>>>> ${spray.version}
>>>> at com.typesafe.config.impl.ConfigSubstitution.resolve(
>>>> ConfigSubstitution.java:199)
>>>> at com.typesafe.config.impl.ConfigSubstitution.resolveSubstitutions(
>>>> ConfigSubstitution.java:240)
>>>> at com.typesafe.config.impl.SubstitutionResolver.resolve(
>>>> SubstitutionResolver.java:89)
>>>> at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(
>>>> SimpleConfigObject.java:290)
>>>> at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(
>>>> SimpleConfigObject.java:227)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:270)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:22)
>>>> at com.typesafe.config.impl.SubstitutionResolver.resolve(
>>>> SubstitutionResolver.java:89)
>>>> at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(
>>>> SimpleConfigObject.java:290)
>>>> at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(
>>>> SimpleConfigObject.java:227)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:270)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:22)
>>>> at com.typesafe.config.impl.SubstitutionResolver.resolve(
>>>> SubstitutionResolver.java:89)
>>>> at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(
>>>> SimpleConfigObject.java:290)
>>>> at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(
>>>> SimpleConfigObject.java:227)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:270)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:22)
>>>> at com.typesafe.config.impl.SubstitutionResolver.resolve(
>>>> SubstitutionResolver.java:89)
>>>> at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(
>>>> SimpleConfigObject.java:290)
>>>> at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(
>>>> SimpleConfigObject.java:227)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:270)
>>>> at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(
>>>> SimpleConfigObject.java:22)
>>>> at com.typesafe.config.impl.SubstitutionResolver.resolve(
>>>> SubstitutionResolver.java:89)
>>>> at com.typesafe.config.impl.SubstitutionResolver.
>>>> resolveWithExternalExceptions(SubstitutionResolver.java:132)
>>>> at com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:61)
>>>> at com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:56)
>>>> at com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:34)
>>>> at com.typesafe.config.impl.ConfigImpl$4.call(ConfigImpl.java:473)
>>>> at com.typesafe.config.impl.ConfigImpl$4.call(ConfigImpl.java:467)
>>>> at com.typesafe.config.impl.ConfigImpl$LoaderCache.
>>>> getOrElseUpdate(ConfigImpl.java:50)
>>>> at com.typesafe.config.impl.ConfigImpl.computeCachedConfig(
>>>> ConfigImpl.java:78)
>>>> at com.typesafe.config.impl.ConfigImpl.defaultReference(
>>>> ConfigImpl.java:467)
>>>> at com.typesafe.config.ConfigFactory.defaultReference(
>>>> ConfigFactory.java:295)
>>>> at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:162)
>>>> at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:113)
>>>> at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:73)
>>>> at com.typesafe.config.ConfigFactory.loadDefaultConfig(
>>>> ConfigFactory.java:182)
>>>> at com.typesafe.config.ConfigFactory.access$000(ConfigFactory.java:31)
>>>> at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:250)
>>>> at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:247)
>>>> at com.typesafe.config.impl.ConfigImpl$LoaderCache.
>>>> getOrElseUpdate(ConfigImpl.java:50)
>>>> at com.typesafe.config.impl.ConfigImpl.computeCachedConfig(
>>>> ConfigImpl.java:78)
>>>> at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:247)
>>>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:93)
>>>> at tests.datasources.inMemory.old.FragmentOLAPCubeStandardTidsCa
>>>> lculationsSuite.<init>(FragmentOLAPCubeStandardTidsCa
>>>> lculationsSuite.scala:34)
>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
>>>> Method)
>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(
>>>> NativeConstructorAccessorImpl.java:39)
>>>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
>>>> DelegatingConstructorAccessorImpl.java:27)
>>>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>>> at java.lang.Class.newInstance0(Class.java:355)
>>>> at java.lang.Class.newInstance(Class.java:308)
>>>> at org.scalatest.tools.ScalaTestFramework$ScalaTestRunner.run(
>>>> ScalaTestFramework.scala:164)
>>>> at org.scalatools.testing.Runner2.run(Runner2.java:16)
>>>> at sbt.TestRunner.delegateRun(TestFramework.scala:57)
>>>> at sbt.TestRunner.run(TestFramework.scala:51)
>>>> at sbt.TestRunner.runTest$1(TestFramework.scala:71)
>>>> at sbt.TestRunner.run(TestFramework.scala:80)
>>>> at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7$$
>>>> anonfun$apply$9.apply(TestFramework.scala:178)
>>>> at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7$$
>>>> anonfun$apply$9.apply(TestFramework.scala:178)
>>>> at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(
>>>> TestFramework.scala:190)
>>>> at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7.
>>>> apply(TestFramework.scala:178)
>>>> at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7.
>>>> apply(TestFramework.scala:178)
>>>> at sbt.Tests$$anonfun$makeParallel$1$$anonfun$apply$
>>>> 7.apply(Tests.scala:119)
>>>> at sbt.Tests$$anonfun$makeParallel$1$$anonfun$apply$
>>>> 7.apply(Tests.scala:119)
>>>> at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
>>>> at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
>>>> 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:159)
>>>> 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:886)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>>> ThreadPoolExecutor.java:908)
>>>> at java.lang.Thread.run(Thread.java:680)
>>>>
>>>> The onyl thing I did is change my app's directory, all the inner 
>>>> components of my app stay the same. What did I miss ?
>>>>
>>>> Thank you,
>>>>
>>>> Matthieu
>>>>
>>> -- 
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>> >>>>>>>>>> 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 post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> Visit this group at http://groups.google.com/group/akka-user?hl=en.
>>>  
>>>  
>>>
>>
>>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to