Hi,
I have a maven project with java and clojure files. When I try to use
logging in clojure files the build fails with:
[INFO] [clojure:compile {execution: default-cli}]
Compiling ro.dpom.markers to /home/dan/project/target/classes
Exception in thread "main" java.lang.ClassNotFoundException:
org.apache.commons.logging (logging.clj:97)
But in pom.xml I have:
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
And the java classes from the same project using:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
compile without problems.
I use tapestry-snapshot for clojure-contrib version 1.0-SNAPSHOT and
clojure-maven-plugin.
Thank you,
Dan Pomohaci
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---