I had the same problem.  I changed line 8 in common.clj as follows:

it was: (def params cyasus.config/params)

changed to: (def params cyasus-ring.config/params)

because it looked like the namespace in config.clj was "cyasus-ring" not 
"cyasus".  This worked for me, but I've only been using Clojure for about 
30 minutes so I might have just gotten lucky.

Rog


On Tuesday, December 11, 2012 11:01:24 AM UTC-5, Asim Jalis wrote:
>
> I tried to run this using
>
>     git clone git://github.com/Yakulu/cyasus.git
>     lein deps
>     lein run
>
> And got a failure with this exception:
>
> Exception in thread "main" java.lang.ClassNotFoundException: 
> cyasus.config, compiling:(cyasus/common.clj:8)
>
> Did you forget to check in a file? Also do you have the app running 
> somewhere? It would be nice to see it running before analyzing the code too 
> deeply.
>
> Asim
>
> On Mon, Nov 26, 2012 at 8:27 PM, Fabien Bourgeois 
> <fbour...@yaltik.com<javascript:>
> > wrote:
>
>> Good morning !
>>
>> New at once to :
>>
>> - Clojure
>> - functional programming
>> - JVM and Java ecosystem
>> - GIT
>>
>> I've decided to start quietly with a micro-project : a very original URL 
>> shortener. Its name is CYASUS (for Clojure Yet Another Stupid URL 
>> Shortener) and you can find it at 
>> <https://github.com/Yakulu/**cyasus<https://github.com/Yakulu/cyasus>
>> >.
>>
>> Here are its characteristics :
>>
>> - published under MIT license
>> - web application without any *script
>> - in-memory database, strongly inspired from the Clojure Programming book 
>> sample
>> - URL shortening, with a user-given key or an auto-generated one
>> - already shortened URL as a list on homepage
>> - automatic redirection or not (by configuration)
>> - ridiculous unit testing (weak coverage)
>> - a very approximative english-speaking (sorry about that)
>>
>> Its dependencies :
>>
>> - Ring and Compojure
>> - Enlive
>> - Bootstrap
>>
>> I think there are million of things wrong in CYASUS. If some of 
>> yourselves have a little time to spend, I will be very happy to have 
>> feedbacks or every advice about :
>>
>> - code structuring
>> - style, not very functional nor idiomatic for now
>> - everything that's wrong
>>
>> If my brain is able to understand all these novelties, others free/libre 
>> projects will follow soon. I hope they will be better and more interesting.
>>
>> Thanks a lot, have a good day.
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com<javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@**googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en>
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to