Re: Strange java startup problem for plugin manager


(Shay Banon) #1

Can you try and add CDPATH="" (similar as in the elasticsearch script) to the plugin script, see if it helps?

On Tuesday, July 5, 2011 at 12:30 PM, Thomas Witt wrote:

Hi,

I am trying to run elasticsearch on a 10.6 Mac.

Works fine. But when trying to install a plugin I get a strange error:

thomas@tristan:~/Downloads/elasticsearch $ bin/plugin
Exception in thread "main" java.lang.NoClassDefFoundError: /Users/
thomas/Downloads/elasticsearch/lib/elasticsearch-0/16/2/jar
Caused by:
java.lang.ClassNotFoundException: .Users.thomas.Downloads.elasticsearch.lib.elasticsearch-0.16.2.jar
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)

Seems that somehow the slashes are incorrectly translated to dots.


(system) #2