JMeter - Webdriver error : java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Kernel32
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:
- http://www.java2s.com/Code/Jar/j/Downloadjna330platformjar.htm
- http://www.java2s.com/Code/Jar/j/Downloadjna330jar.htm
And put it in jmeter/lib folder.
See a full tutorial on this at:
For me just helped changing
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target></properties>
From 1.7 to 1.8 for source and target