Aditya Singh
Aditya Singh

Reputation: 54

JMeter: java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS after Java Version upgrade form Oracle 1.8 to OpenJDK 17

I recently upgraded Java version from 1.8(Oracle) to 17(OpenJDK), but post this activity, I am unable to launch JMeter and getting below exception:

enter image description here

How to resolve this issue?

Upvotes: -1

Views: 188

Answers (1)

Ivan G
Ivan G

Reputation: 2872

  1. Use jmeter.bat startup script, it adds all the necessary JVM startup options
  2. According to JMeter Best Practices you should always be using the latest version of JMeter so consider upgrading to JMeter 5.6.3 or whatever is the latest stable version which is available at JMeter Downloads page

If it doesn't help:

Upvotes: 0

Related Questions