I am in emacs, in an nrepl session, and I do this:

user> (load-file "/Users/lkrubner/projects/tma2/cacher/src/cacher/core.clj")
      ClassNotFoundException org.jsoup.Jsoup  java.net.URLClassLoader$1.run 
(URLClassLoader.java:366)

Why do I get that error? The file starts like this:

(ns cacher.core
  (:gen-class)
  (:import 
   (java.io ByteArrayInputStream)
   [org.jsoup Jsoup]
   [org.jsoup.nodes Attribute Attributes Comment DataNode Document 
DocumentType Element Node TextNode XmlDeclaration]
   [org.jsoup.parser Parser Tag])
  (:require [clojure.string :as st]
            [clojure.set :as clojure-set]
            [clojure.pprint :as pp]
            [clojure.java.io :as io]
            [clojure.data.json :as json]
            [clojure.data.xml :as xml]
            [clj-yaml.core :as yaml]
            [clj-time.core :as tyme]
            [clj-time.format :as tyme-format]
            [cacher.debugging :as debug]
            [cacher.memory_display :as mem]
            [cacher.dates_as_strings :as das]
            [cacher.interactions :as interactions]
            [cacher.monger :as monger]
            [cacher.schema :as schema]
            [cacher.process-events :as pe]
            [cacher.correct :as correct]
            [cacher.views :as views]
            [net.cgrand.enlive-html :as enlive]
            [taoensso.timbre.appenders (postal :as postal-appender)])
  (:use [taoensso.timbre.profiling :as profiling :only (p profile)]
        [taoensso.timbre :as timbre :only (trace debug info warn error 
fatal spy)]))

-- 
-- 
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/groups/opt_out.


Reply via email to