Skip to content

Instantly share code, notes, and snippets.

@jhn jhn/core.clj Secret
Created Dec 18, 2013

Embed
What would you like to do?
http-server error
(ns http-server.core
(:require clojure.contrib.server-socket)
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!"))
java.io.FileNotFoundException: Could not locate clojure/contrib/server_socket__init.class or clojure/contrib/server_socket.clj on classpath:
RT.java:443 clojure.lang.RT.load
RT.java:411 clojure.lang.RT.load
core.clj:5530 clojure.core/load[fn]
core.clj:5529 clojure.core/load
RestFn.java:408 clojure.lang.RestFn.invoke
core.clj:5336 clojure.core/load-one
core.clj:5375 clojure.core/load-lib[fn]
core.clj:5374 clojure.core/load-lib
RestFn.java:142 clojure.lang.RestFn.applyTo
core.clj:619 clojure.core/apply
core.clj:5413 clojure.core/load-libs
RestFn.java:137 clojure.lang.RestFn.applyTo
core.clj:619 clojure.core/apply
core.clj:5496 clojure.core/require
RestFn.java:408 clojure.lang.RestFn.invoke
/Users/jhn/code/gh/cs3157/lab8/http-server/src/http_server/core.clj:1 http-server.core/eval5111[fn]
/Users/jhn/code/gh/cs3157/lab8/http-server/src/http_server/core.clj:1 http-server.core/eval5111
(defproject http-server "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]]
:main ^:skip-aot http-server.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.