简体   繁体   English

错误:无法找到或加载主 class Files\Eclipse 原因:java.lang.ClassNotFoundException: Files\Eclipse

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

I am running gateling project on gradle.我在 gradle 上运行门控项目。 Using Java 1.11 , (openjdk) Gradle 6.8 , Scala 2.12.8 ,使用Java 1.11 , (openjdk) Gradle 6.8 , Scala 2.12.8 ,

buidl.gradle: buidl.gradle:

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

repositories {
    jcenter()
}

Project structure:项目结构:

While running with./gradlew clean build gatlingRun-$1 getting below error使用 ./gradlew clean build gatlingRun-$1 运行时出现错误

Successfully started process 'command 'C:\Program Files\Eclipse Adoptium\jdk-11.0.14.101-hotspot\bin\java.exe''成功启动进程'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错误:无法找到或加载主 class Files\Eclipse 原因:java.lang.ClassNotFoundException: Files\Eclipse

any help please.请提供任何帮助。 thanks in advance.提前致谢。

This plugin has been deprecated for quite some time and replaced with the official gatling-gradle plugin, see https://gatling.io/docs/gatling/reference/current/extensions/gradle_plugin/这个插件已经被弃用了一段时间,取而代之的是官方的 gatling-gradle 插件,参见https://gatling.io/docs/gatling/reference/current/extensions/gradle_plugin/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Eclipse IDE 错误:找不到或加载主 class javafx.fxml 原因:java.lang.ClassNotFoundException:javafx.fxml - Eclipse IDE Error: Could not find or load main class javafx.fxml Caused by: java.lang.ClassNotFoundException: javafx.fxml 在 MAC OSX 中出现错误“错误:无法找到或加载主 class A 原因:java.lang.ClassNotFoundException:A” - Getting error “Error: Could not find or load main class A Caused by: java.lang.ClassNotFoundException: A” in MAC OSX JavaFX on Eclipse "Could not find or load main class Main.java Caused by: java.lang.ClassNotFoundException: Main.java" usual solutions not working - JavaFX on Eclipse "Could not find or load main class Main.java Caused by: java.lang.ClassNotFoundException: Main.java" usual solutions not working 错误:无法找到或加载主 class MakePhoneCall 原因:java.lang.ClassNotFoundException:MakePhoneCall - Error: Could not find or load main class MakePhoneCall Caused by: java.lang.ClassNotFoundException: MakePhoneCall 错误:无法找到或加载主 class 原因:java.lang.ClassNotFoundException: - Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException: 错误:无法找到或加载主 class NewClass 原因:java.lang.ClassNotFoundException:NewClass - Error: Could not find or load main class NewClass Caused by: java.lang.ClassNotFoundException: NewClass Could not find or load main class com.simplilearn.testing.oops.LunchNewBrowser Caused by: java.lang.ClassNotFoundException error using Selenium Java - Could not find or load main class com.simplilearn.testing.oops.LunchNewBrowser Caused by: java.lang.ClassNotFoundException error using Selenium Java 运行 jar 文件返回错误:Error: Could not find or load main class MyClass Caused by: java.lang.ClassNotFoundException: MyClass - Running jar file returns error: Error: Could not find or load main class MyClass Caused by: java.lang.ClassNotFoundException: MyClass Maven 程序集 jar 执行无法找到或加载主类导致:java.lang.ClassNotFoundException - Maven assembly jar execution Could not find or load main class Caused by: java.lang.ClassNotFoundException 错误:无法找到或加载主 class prism.PrismCL 原因:java.lang.ClassNotFoundException:prism.PrismCL - Error: Could not find or load main class prism.PrismCL Caused by: java.lang.ClassNotFoundException: prism.PrismCL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM