I think you need a space before the final LogManager, not just a period:
(ns de.uni-stuttgart.iaas.ipsm.base-resource-service.core
(:import [org.apache.logging.log4j LogManager])
The vector's just for style, a list works just as well.
Timur <mailto:timurha...@gmail.com>
July 31, 2014 at 1:44 PM
Hi,
(ns de.uni-stuttgart.iaas.ipsm.base-resource-service.core
(:import (org.apache.logging.log4j.LogManager)))
(println (LogManager/getLogger))
The above simple code throws the following exception and I could not
resolve the issue:
CompilerException java.lang.RuntimeException: No such namespace:
LogManager, compiling:(/tmp/form-init3126046047239152769.clj:2:10)
LogManager is in the class path. Evaluation of the first expression
does not throw any exceptions.
Anyone has any idea?
--
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
---
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to clojure+unsubscr...@googlegroups.com
<mailto:clojure+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
Sam Ritchie (@sritchie)
Paddleguru Co-Founder
703.863.8561
www.paddleguru.com <http://www.paddleguru.com/>
Twitter <http://twitter.com/paddleguru>// Facebook
<http://facebook.com/paddleguru>
--
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
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.