Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Java's trying to load the org.apache.commons.cli.ParseException class, but it can't find it. This suggests you're not setting the classpath properly.</p> <p>That particular class comes from the Apache Commons CLI library, so have a look around for a jar named something like cli.jar or commons-cli.jar. It may be in a separate <code>lib</code> directory. If there are other jars in the same place, you'll probably need to add them, too.</p> <p>Edit: looking at the build.xml file, it uses the following classpath:</p> <pre><code> &lt;path id="classpath.web"> &lt;pathelement path="${third_party}/java/jsdk2.1/servlet.jar"/> &lt;pathelement path="${third_party}/java/jaf/activation.jar"/> &lt;pathelement path="${third_party}/java/javamail/mail.jar"/> &lt;pathelement path="${third_party}/java/jetty/lib/jetty.jar"/> &lt;pathelement path="${third_party}/java/jetty/lib/jetty-util.jar"/> &lt;/path> &lt;path id="classpath.compile"> &lt;path refid="classpath.web"/> &lt;pathelement path="${third_party}/java/jakarta_commons/commons-cli.jar"/> &lt;pathelement path="${third_party}/java/json_simple/json_simple.jar"/> &lt;pathelement path="${third_party}/java/rhino/js.jar"/> &lt;pathelement path="${third_party}/java/xerces/xercesImpl.jar"/> &lt;pathelement path="${jars}/htmlparser.jar"/> &lt;/path> &lt;path id="classpath.run"> &lt;pathelement path="${lib}"/> &lt;path refid="classpath.compile"/> &lt;/path></code></pre> <p>So you'll need to include all of those jars in the <code>cp</code> argument when calling java.</p> <p>Edit #2: As Ash pointed out, you can't use <code>-cp</code> with <code>-jar</code>, so you'll need to put the <code>pluginc.jar</code> on the classpath as well and manually specify the main class (so <code>java -cp ...;pluginc.jar com.google.classname -i etc</code>). It'd probably be easier to get ant working than to do all of this manually ;)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload