This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I did CounterClockWise setup with Eclipse Indigo (OS: Windows 7) and wrote the first Clojure program. It ran nicely.
But today when I opened my Clojure project and tried to run the same program I am getting this exception.
This must be something silly but being new to Clojure I don't know how to fix it.
Caused by: java.lang.ClassNotFoundException: clojure.main
at java.security.AccessController.doPrivileged(Native Method)
Exception in thread "main"
Check the project Build Path (right-click on the project name in the navigator and go Build Path > Configure Build Path... if that's present or Properties, then Java Build Path, otherwise). Sounds like the Clojure JAR is missing.
Thanks Sean, that resolved my issue. I am slowly getting the hang of it.
I found the reason which caused this issue.
I accidentally installed Maven in this Clojure project (I don't know about Maven).
And that did remove all the required jar files from build path.
Let me figure out how does pom.xml works.