configure the JRat handler factory - geht nich



  • Hallo,
    ich haeng noch immer mit JRat rum, im letzten Schritt:

    There are two steps necessary to configure your application to run with JRat.

    1. Add shiftone-jrat.jar to your application's classpath.
    2. Add a system property to configure the JRat handler factory. This requires that a parameter be added to the VM command line. The parameter that needs to be added is shown in the box below.

    -Djrat.factory=org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory

    The above configuration will let JRat know that you want to use the tree handler to process execution events.

    So das hab ich versucht und zwar hab ich das jar ins Verzeichnis neben den Package Ordner mit meinem kompilierten .classes kopiert, von denen aus dann mit -Djrat... Parameter versucht mein Programm zu starten und bekam dann folgendes:

    user@Zebulon performance $ mv transform/shiftone-jrat.jar .
    user@Zebulon performance $ ll
    total 408
    -rwxrwxrwx 1 root root 408255 2005-05-13 15:57 shiftone-jrat.jar*
    drwxrwxrwx 2 root root 8192 2005-05-13 16:00 transform/
    user@Zebulon performance $ java -Djrat.factory=org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory transform/ProcessCalculationGrafical
    Exception in thread "main" java.lang.NoClassDefFoundError: org/shiftone/jrat/core/HandlerFactory
    at transform.Presentation.<clinit>(Presentation.java)

    natuerlich hab ich, wie man oben sehn kann, keine org/shiftone/wtf Datei, pfad, was auch immer - wie is das gemeint, die VM einstellen?

    Bitte helft mir, da es sich dabei um den letzten Schritt handelt und es doch ziemlich nervig is!!! 😞


Anmelden zum Antworten