When I load a JAR at runtime with add-classpath

(add-classpath "file:///Users/reb/java/jena.jar")

and try

user=> (import '(com.hp.hpl.jena.rdf.model ModelFactory))

I get

java.lang.ClassNotFoundException:
com.hp.hpl.jena.rdf.model.ModelFactory (NO_SOURCE_FILE:0)
user=>

However, I can still use the classes if I fully qualify them.

The same import does work if I add the JAR to the classpath when
invoking java, but that seems to be less flexible.

Am I doing something wrong?

Is this a bug?

Any advice gratefully received!

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to