Forum Discussion

sgsoapuser's avatar
sgsoapuser
Occasional Contributor
12 years ago

running soapui.sh throws exception in linux

Hi,

I installed "Linux binary zip(no jre)" in Linux 64bit. When I run soapui.sh I get below error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser

Here is my java version:
java version "1.5.0_11"

If the error has to do with java version, i will try to install higher version of java.
How can I point soapui to new java version?

Appreciate your help.
  • sgsoapuser's avatar
    sgsoapuser
    Occasional Contributor
    I tried installing jdk1.7.0_40 and i have set the following env variable to point to this.

    echo $JAVA_HOME
    /data/apps/jdk1.7.0_40
    echo $PATH
    /data/apps/jdk1.7.0_40/bin/java

    I still see the exception thrown.

    Any help?
    Thank you.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi
    in the soapui lib directory, do you have a commons-cli-xxx.jar file?
    missing class should be in this file
  • sgsoapuser's avatar
    sgsoapuser
    Occasional Contributor
    Yes I see this file in lib directory: commons-cli-1.0.jar.

    Looking forward for inputs.

    Thanks in advance
  • sgsoapuser's avatar
    sgsoapuser
    Occasional Contributor
    It is resolved now. I added soapui/bin to $PATH and I dont see thie error.

    Thanks for the help.