# How to solve the Error with debug - logging : Cannot access 'io.gatling.gradle.JvmConfigurable.Trait.FieldHelper'?

**URL:** <https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601>\
**Category:** Gatling (Open-Source)\
**Tags:** gatling-academy, release\
**Created:** [February 1, 2023, 4:25pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601 "2023-02-01T16:25:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RudraGanesh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/rudraganesh/32/1036_2.png) [@RudraGanesh](https://community.gatling.io/u/RudraGanesh)\
**Post date:** [February 1, 2023, 4:25pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/1 "2023-02-01T16:25:22Z")

</div>

Hi Gatling Community Team,

I need to check the log for performance execution on cursor based pagination scripts in jenkins.  
but the build.gradle always shows error with log parameters such as at logHttp & logLevel

```gradle
plugins {
    id("scala")
    id("io.gatling.gradle") version "3.9.0"
}

gatling {
    logHttp = io.gatling.gradle.LogHttp.FAILURES
    logLevel = "WARN"
}

repositories {
    maven {
        url = uri("https://repo1.maven.org/maven2/")
    }
}

```

Error message :

```plaintext
Cannot access 'io.gatling.gradle.JvmConfigurable.Trait.FieldHelper' which is a supertype of 'io.gatling.gradle.GatlingPluginExtension'. Check your module classpath for missing or conflicting dependencies

```

Please help me solve this issue

---

<div class="post-metadata">

**Author:** ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)\
**Post date:** [February 1, 2023, 5:17pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/2 "2023-02-01T17:17:44Z")

</div>

Hi @RudraGanesh,

What is your version of gradle?  
What is your version and vendor of the JVM?

Which command does produce such error?

And I think you should have `logHttp = 'FAILURES'`.

Cheers!

---

<div class="post-metadata">

**Author:** ![RudraGanesh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/rudraganesh/32/1036_2.png) [@RudraGanesh](https://community.gatling.io/u/RudraGanesh)\
**Post date:** [February 1, 2023, 6:42pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/3 "2023-02-01T18:42:35Z")

</div>

Hi @sbrevet ,  
thanks for responding

please find the below details  
Gradle : 7.5  
Kotlin: 1.6.21  
Groovy: 3.0.10  
JVM: 11.0.12 (Azul Systems, Inc. 11.0.12+7-LTS).  
error is not triggered by any command but its notified by IntelliJ as error and during execution there is no log generated for http failures.

I tried with logHttp = ‘FAILURES’ but i get below error  
Type mismatch.  
Required:LogHttp!  
Found:String

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 3, 2023, 3:37pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/4 "2023-02-03T15:37:58Z")

</div>

Old Gradle Kotlin DSL (would have helped to mention you were using this) compatibility issue.  
Please upgrade your plugin version (the latest one as of now is 3.9.0.3).

---

<div class="post-metadata">

**Author:** ![RudraGanesh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/rudraganesh/32/1036_2.png) [@RudraGanesh](https://community.gatling.io/u/RudraGanesh)\
**Post date:** [February 5, 2023, 12:21am UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/5 "2023-02-05T00:21:08Z")

</div>

I tried to upgrade to 3.9.0.3  
But i am getting 404 file not found error with maven path, is the version available in maven central?  
should I adopt gradle file? please help me

00:17:38 INFO: Downloading: [https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0.3/gatling-charts-highcharts-bundle-3.9.0.3-bundle.zip](https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0.3/gatling-charts-highcharts-bundle-3.9.0.3-bundle.zip)  
00:17:38 ERROR: Error while downloading [https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0.3/gatling-charts-highcharts-bundle-3.9.0.3-bundle.zip:](https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0.3/gatling-charts-highcharts-bundle-3.9.0.3-bundle.zip:) Unsuccessful download from [https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0.3/gatling-charts-highcharts-bundle-3.9.0.3-bundle.zip](https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0.3/gatling-charts-highcharts-bundle-3.9.0.3-bundle.zip)  
100% [] ETA: --:–:–  
00:17:38 ERROR: Internal Error: Gatling download failed: No more links to try  
00:17:38 INFO: Post-processing…

even when i adopt the file with " url = uri("[https://plugins.gradle.org/m2/“)”](https://plugins.gradle.org/m2/%22)%22) still it takes [Central Repository: io/gatling/highcharts/gatling-charts-highcharts-bundle](https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 5, 2023, 8:41am UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/6 "2023-02-05T08:41:25Z")

</div>

What you are doing is nonsense.  
You have the issue mentioned in this thread’s title because you are using an outdated version of the gatling gradle plugin, which I told you to upgrade.  
And now you’re trying to use the bundle instead and use a version that doesn’t exist?!

---

<div class="post-metadata">

**Author:** ![RudraGanesh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/rudraganesh/32/1036_2.png) [@RudraGanesh](https://community.gatling.io/u/RudraGanesh)\
**Post date:** [February 17, 2023, 1:27pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/7 "2023-02-17T13:27:12Z")

</div>

Issue solved with a custom logback file.  
and with bundle 3.9.1  
[https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.1/](https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.1/)

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [March 19, 2023, 1:28pm UTC](https://community.gatling.io/t/how-to-solve-the-error-with-debug-logging-cannot-access-io-gatling-gradle-jvmconfigurable-trait-fieldhelper/7601/8 "2023-03-19T13:28:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
