Re: [akka-user] Re: ${spray.version} not find

2016-03-19 Thread Konrad Malawski
I don't know about Spray to be honest actually.
In Akka we certainly include the akka.version in config.

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Lightbend

On 15 March 2016 at 18:59:52, abhishek jain (aa.jai...@gmail.com) wrote:

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 
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.Confi

Re: [akka-user] Re: ${spray.version} not find

2016-03-15 Thread abhishek jain
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 
>>
>>> 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

Re: [akka-user] Re: ${spray.version} not find

2016-03-15 Thread abhishek jain
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 >
>
>> 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.jav