I have the tutorial described below working, using Emacs and Leiningen. http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html
I created a new Clojure project in Eclipse. I created a "lib" directory, imported the dependent jar files that Leiningen pulled from a repo into the lib directory, and added all of the jars to the project build path. When I imported the core.clj into the Eclipse project src folder, I got: java.io.FileNotFoundException: Could not locate compojure/ core__init.class or compojure/core.clj on classpath: core.clj /web- app-adder/src/adder line 1 Clojure Compilation Problem It just occurred to me to start the REPL and see if the error still shows up in the error console; it doesn't - the error disappears. I shut down Eclipse and restarted, and I don't see the error in the error console anymore - irregardless of the REPL running. I assumed the problem had to do with the JDT finding no .class files in the compojure jar file, but there is no error in the error console now. Thanks for offering to help - it seems to work now. Scott Hickey On Aug 9, 1:41 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote: > Hi, > > How could I help you from the Eclipse side ? I don't totally understand the > steps you're following in Eclipse / counterclockwise (but maybe it's not an > eclipse / counterclockwise problem ?) > > 2010/8/9 scott <jscotthic...@gmail.com> > > > I was going to try out a compojure tutorial in Eclipse. It appears > > that only .clj files and not the .class files are included in the > > compojure jar file. > > > I'm seeing the following error: > > java.io.FileNotFoundException: Could not locate compojure/ > > core__init.class or compojure/core.clj on classpath: core.clj > > /web- > > app-adder/src/adder line 1 Clojure Compilation Problem > > > I assume the problem is that there are no .class files in the jar. I > > tried to rebuild the compojure jar using "lein jar" but still didn't > > get .class files, even though: > > > lein help jar > > Create a $PROJECT.jar file containing the compiled .class files as > > well as the source .clj files. > > > Any suggestions would be appreciated - thanks. > > > Scott Hickey > > > -- > > 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<clojure%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >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