Okay, now I'm getting tired of this.
So, two issues seem to creep up.
1- Apparently some other program likes to listen in on port 8080, which is easy enough to fix.
2- Error: java.io.FileNotFoundException: C:\lein\my-website\resources\public (Access is de
nied)
Quote:
c:\lein\my-website>lein run
Warning: *classpath* not declared dynamic and thus is not dynamically rebindable
, but its name suggests otherwise. Please either indicate ^:dynamic *classpath*
or change the name.
Starting server...
2012-06-23 00:20:33.291:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
2012-06-23 00:20:33.307:INFO::jetty-6.1.25
2012-06-23 00:20:33.400:INFO::Started SocketConnector@0.0.0.0:8778
Server started on port [8778].
You can view the site at http://localhost:8778
#<Server Server@6bedd91b>
2012-06-23 00:21:01.905:WARN::/
java.io.FileNotFoundException: C:\lein\my-website\resources\public (Access is de
nied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:138)
at ring.util.servlet$set_body.invoke(servlet.clj:96)
at ring.util.servlet$update_servlet_response.invoke(s ervlet.clj:124)
at ring.adapter.jetty$proxy_handler$fn__707.invoke(je tty.clj:18)
at ring.adapter.jetty.proxy$org.mortbay.jetty.handler .AbstractHandler$0.
handle(Unknown Source)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:1
52)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:54
2)
at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpCo
nnection.java:926)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.r un(SocketConnector.
java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run (QueuedThreadPool.j
ava:582)
|
I can't find anything useful on this issue. I've been searching for hours on this one.
The only thing that caused all of this to start is changing or adding files to the file system (not hacking core). If I do the default installation, everything works fine, but go through what the site says to do, and the whole thing bugs out and throws errors.
I though the drupal documentation and "how to" was bad when I first started using it: Noir / Clojure is specifically made to crush your soul and make you quit.