You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Robbie Vos <ro...@clickatell.com> on 2012/09/10 16:00:20 UTC
JMeter fatal error: java.lang.NoClassDefFoundError
Hi,
I am trying to run jmeter on a Unix box using the command line. When I run it I get the following error:
[XXX@XXX:~/apache-jmeter-2.6/bin] ./jmeter -n
An error occurred: org.apache.commons.io.IOUtils
The error log contains the following:
2012/09/10 15:55:57 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US
2012/09/10 15:55:57 INFO - jmeter.JMeter: Loading user properties from: /home/robbie.vos/apache-jmeter-2.6/bin/user.properties
2012/09/10 15:55:57 INFO - jmeter.JMeter: Loading system properties from: /home/robbie.vos/apache-jmeter-2.6/bin/system.properties
2012/09/10 15:55:57 FATAL - jmeter.JMeter: An error occurred: java.lang.NoClassDefFoundError: org.apache.commons.io.IOUtils
at java.lang.Class.initializeClass(libgcj.so.7rh)
at org.apache.jmeter.util.JMeterVersion.<clinit>(JMeterVersion.java:81)
at java.lang.Class.initializeClass(libgcj.so.7rh)
at org.apache.jmeter.util.JMeterUtils.getJMeterCopyright(JMeterUtils.java:1139)
at org.apache.jmeter.JMeter.start(JMeter.java:304)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.apache.jmeter.NewDriver.main(NewDriver.java:216)
Caused by: java.lang.VerifyError: verification failed at PC 1 in org.apache.commons.io.IOUtils:closeQuietly((Ljava.io.Reader;)V): incompatible type on stack
at java.lang.Class.initializeClass(libgcj.so.7rh)
...6 more
Does anyone know anything about this error?
Regards,
Robbie
image:image:This e-mail message and all attachments transmitted with it are confidential and are intended solely for the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachment(s) is strictly prohibited. Clickatell does not recognise that a contract can be concluded by way of electronic communication. All contracts must be signed on paper and only authorised signatories in terms of the Clickatell Authorised Signatory Policy may contract on behalf of Clickatell. All provisions to the contrary contained in the Electronic Communications and Transactions Act 25 of 2002 are hereby specifically excluded.
Re: JMeter fatal error: java.lang.NoClassDefFoundError
Posted by sebb <se...@gmail.com>.
On 10 September 2012 15:00, Robbie Vos <ro...@clickatell.com> wrote:
[Please use plain text e-mail in future.]
>
>
> Hi,
>
> I am trying to run jmeter on a Unix box using the command line. When I run it I get the following error:
>
> [XXX@XXX:~/apache-jmeter-2.6/bin] ./jmeter -n
> An error occurred: org.apache.commons.io.IOUtils
>
> The error log contains the following:
>
What does it say about the Java version?
> 2012/09/10 15:55:57 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US
> 2012/09/10 15:55:57 INFO - jmeter.JMeter: Loading user properties from: /home/robbie.vos/apache-jmeter-2.6/bin/user.properties
> 2012/09/10 15:55:57 INFO - jmeter.JMeter: Loading system properties from: /home/robbie.vos/apache-jmeter-2.6/bin/system.properties
> 2012/09/10 15:55:57 FATAL - jmeter.JMeter: An error occurred: java.lang.NoClassDefFoundError: org.apache.commons.io.IOUtils
> at java.lang.Class.initializeClass(libgcj.so.7rh)
> at org.apache.jmeter.util.JMeterVersion.<clinit>(JMeterVersion.java:81)
> at java.lang.Class.initializeClass(libgcj.so.7rh)
> at org.apache.jmeter.util.JMeterUtils.getJMeterCopyright(JMeterUtils.java:1139)
> at org.apache.jmeter.JMeter.start(JMeter.java:304)
> at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> at org.apache.jmeter.NewDriver.main(NewDriver.java:216)
> Caused by: java.lang.VerifyError: verification failed at PC 1 in org.apache.commons.io.IOUtils:closeQuietly((Ljava.io.Reader;)V): incompatible type on stack
> at java.lang.Class.initializeClass(libgcj.so.7rh)
Looks like an issue with the Java installation.
> ...6 more
>
> Does anyone know anything about this error?
>
> Regards,
> Robbie
>
>
> Robbie Vos - Senior PHP Developer
>
> E robbie.vos@clickatell.com
> T +27 21 910 7700 F +27 21 910 7701
>
> This e-mail message and all attachments transmitted with it are confidential and are intended solely for the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachment(s) is strictly prohibited. Clickatell does not recognise that a contract can be concluded by way of electronic communication. All contracts must be signed on paper and only authorised signatories in terms of the Clickatell Authorised Signatory Policy may contract on behalf of Clickatell. All provisions to the contrary contained in the Electronic Communications and Transactions Act 25 of 2002 are hereby specifically excluded.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org