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

This error:

appears every time I run testcript in Jmeter. But everything works ...

It is this error that appears every time in the log after the actual script is executed.

Can this error be ignored? Or will it affect my test?

Jmeter: 2.13
Java: 1.8.0.45
Plugin Jmeter: 1.3 (standard, optional, ExtraLibs, Webdriver)

+4
source share
2 answers

Your problem is related to the absence of a jar that contains:

  • com / sun / jna / platform / win32 / kernel32

You can download it with its dependency:

jmeter/lib.

. :

+6

<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>

1,7 1,8

0

Source: https://habr.com/ru/post/1599089/


All Articles