gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apostolos Giannakidis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GORA-243) Properly escaping spaces of GORA_HOME in bin/gora
Date Fri, 14 Jun 2013 02:25:20 GMT
Apostolos Giannakidis created GORA-243:

             Summary: Properly escaping spaces of GORA_HOME in bin/gora
                 Key: GORA-243
                 URL: https://issues.apache.org/jira/browse/GORA-243
             Project: Apache Gora
          Issue Type: Bug
            Reporter: Apostolos Giannakidis
            Assignee: Apostolos Giannakidis
            Priority: Minor
             Fix For: 0.4

When executing bin/gora in a folder that contains space(s) it fails with the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avro/Schema
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
	at java.lang.Class.getMethod0(Class.java:2694)
	at java.lang.Class.getMethod(Class.java:1622)
	at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: org.apache.avro.Schema
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	... 6 more

The problem is the mishandling of spaces when building the CLASSPATH in bin/gora.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message