This does not seem to apply:
https://github.com/technomancy/leiningen/issues/739
I suspect you're missing a :gen-class declaration in src/cljmx/core.clj.
But this is what I have:
(ns kiosks-clojure.core
(:gen-class)
(:import
(java.net URL)
(java.io ByteArrayInputStream)
More info about my problem:
java version 1.7.0_11
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
W dniu czwartek, 31 stycznia 2013 13:19:34 UTC-5 użytkownik larry google
groups napisał:
This does not seem to apply:
Any suggestion, no matter how far fetched, will be welcome. I am ignorant
about the JVM so I am having trouble debugging this problem.
W dniu czwartek, 31 stycznia 2013 13:22:20 UTC-5 użytkownik larry google
groups napisał:
More info about my problem:
java version 1.7.0_11
Java(TM) SE
I am using wrap-resource instead of wrap-file. Could that cause some issues
with the path? (And, is this a path issue?)
(def app
(- app-routes
(wrap-resource public)
(wrap-session {:cookie-name timeout-discovery-session :cookie-attrs
{:max-age 1 }})
(wrap-cookies)
The java command is interpreting -jar as the name of a class instead of a
command-line option. Something is messed up in the way the command is
executed in your sysadmin's context.
On Thursday, January 31, 2013 9:01:07 PM UTC+1, larry google groups wrote:
Any suggestion, no matter how far
larry google groups lawrencecloj...@gmail.com writes:
Any suggestion, no matter how far fetched, will be welcome. I am
ignorant about the JVM so I am having trouble debugging this problem.
java -jar kiosk.clj 3
These are weird (.clj vs .jar), but since you say whatever you
java -jar kiosk.clj 3
These are weird (.clj vs .jar), but since you say whatever you
actually ran worked...
Apologies. I re-typed and stupidly typed clj. But what I sent to the
sysadmin was a copy and paste of what I had used in my terminal to get the
app running.
I
I'm guessing encoding error. In fact, if that error is a direct
copy-paste from either the exact error or what you sent the sysadmin, it
completely explains it. Your `-` character in `-jar` above is in fact
`-` (en-dash), which is causing `java` to search the classpath
for a class named
It's probably a paren off, but it would be easier to tell for sure if you
posted the code to a github gist, or here.
On Mon, Apr 25, 2011 at 10:02 AM, WoodHacker ramsa...@comcast.net wrote:
Can anyone help me with this? I get the following error:
Exception in thread main