JMeter - Webdriver error : java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Kernel32

Paili picture Paili · Jul 22, 2015 · Viewed 10.8k times · Source

This error:

appears everytime I run a testscript in Jmeter. But everything works...

It is just this error that appears everytime in log after the actual script had run.

Can I ignore this error? Or will it influences my test?

Jmeter: 2.13
Java: 1.8.0.45
Jmeter Plugin : 1.3 (Standard,Extras,ExtraLibs, Webdriver)

Answer

UBIK LOAD PACK picture UBIK LOAD PACK · Jul 22, 2015

Your issue is due to missing jar that contains :

  • com/sun/jna/platform/win32/Kernel32

You should be able to download it with its dependency here:

And put it in jmeter/lib folder.

See a full tutorial on this at: