Hi,
  I'm a newbie on the project and just checked it out take a look at the
code. The Ant build ran fine but when I try to run the .JAR within
output/dist dir with the command below, as documented on Main.groovy:

*    java -jar apache-kitty.jar h*

  I get the following exception:

*Exception in thread "main" java.lang.NoClassDefFoundError:
groovy/lang/GroovyObject*
*        at java.lang.ClassLoader.defineClass1(Native Method)*
*        at java.lang.ClassLoader.defineClassCond(Unknown Source)*
*        at java.lang.ClassLoader.defineClass(Unknown Source)*
*        at java.security.SecureClassLoader.defineClass(Unknown Source)*
*        at java.net.URLClassLoader.defineClass(Unknown Source)*
*        at java.net.URLClassLoader.access$000(Unknown Source)*
*        at java.net.URLClassLoader$1.run(Unknown Source)*
*        at java.security.AccessController.doPrivileged(Native Method)*
*        at java.net.URLClassLoader.findClass(Unknown Source)*
*        at java.lang.ClassLoader.loadClass(Unknown Source)*
*        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)*
*        at java.lang.ClassLoader.loadClass(Unknown Source)*
*Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject*
*        at java.net.URLClassLoader$1.run(Unknown Source)*
*        at java.security.AccessController.doPrivileged(Native Method)*
*        at java.net.URLClassLoader.findClass(Unknown Source)*
*        at java.lang.ClassLoader.loadClass(Unknown Source)*
*        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)*
*        at java.lang.ClassLoader.loadClass(Unknown Source)*
*        ... 12 more*
*Could not find the main class: org.apache.kitty.Main. Program will exit.*



I'm not sure whether it's related to this showstopper, mentioned in another
thread: https://issues.apache.org/jira/browse/KITTY-12

One thing I had to do in order to build it was comment out this piece of
build.xml, since there was no such dir on my user home dir:

<fileset dir="${user.home}/.groovy/lib">
    <include name="**/*.jar"/>
</fileset>


Am I missing something? Is there any other step needed to run it?

Thanks

Reply via email to