kumar2121
kumar2121

Reputation: 1

Error: Could not find or load main class Files\Eclipse Caused by: java.lang.ClassNotFoundException: Files\Eclipse

I am running gateling project on gradle. Using Java 1.11, (openjdk) Gradle 6.8, Scala 2.12.8,

buidl.gradle :

plugins {
    id "com.github.lkishalmi.gatling" version "3.3.4"
}

repositories {
    jcenter()
}

Project structure :

1

While running with ./gradlew clean build gatlingRun-$1 getting below error

Successfully started process 'command 'C:\Program Files\Eclipse Adoptium\jdk-11.0.14.101-hotspot\bin\java.exe''

Error: Could not find or load main class Files\Eclipse Caused by: java.lang.ClassNotFoundException: Files\Eclipse

any help please. thanks in advance.

Upvotes: 0

Views: 371

Answers (1)

Stéphane LANDELLE
Stéphane LANDELLE

Reputation: 6623

This plugin has been deprecated for quite some time and replaced with the official gatling-gradle plugin, see https://docs.gatling.io/reference/integrations/build-tools/gradle-plugin/

Upvotes: 0

Related Questions