Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java code from readme doesn't seem to work #8

Open
AWinterman opened this issue May 8, 2012 · 1 comment
Open

Java code from readme doesn't seem to work #8

AWinterman opened this issue May 8, 2012 · 1 comment

Comments

@AWinterman
Copy link

Hi there,

I installed vimclojure via your very helpful instructions. I ran

cd
java -cp server-2-3-0.jar:~/path/to/clojure-1.3.0.jar vimclojure-nailgun.NGServer`

and see the following errors:

Exception in thread "main" java.lang.NoClassDefFoundError: vimclojure-nailgun/NGServer
Caused by: java.lang.ClassNotFoundException: vimclojure-nailgun.NGServer
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Any idea what could be going wrong?

@daveray
Copy link
Owner

daveray commented May 8, 2012

Is server-2.3.0.jar in the current dir? Did you substitute the correct path
for "~/path/to"?

On Tuesday, May 8, 2012, Andrew Winterman wrote:

Hi there,

I installed vimclojure via your very helpful instructions. I ran

cd
java -cp server-2-3-0.jar:~/path/to/clojure-1.3.0.jar
vimclojure-nailgun.NGServer`

and see the following errors:

Exception in thread "main" java.lang.NoClassDefFoundError:
vimclojure-nailgun/NGServer
Caused by: java.lang.ClassNotFoundException: vimclojure-nailgun.NGServer
       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Any idea what could be going wrong?


Reply to this email directly or view it on GitHub:
#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants