Log4j configured in build.gradle is listed in buildpath but while running error says module not found

//in build.gradle file eclipse (java)

dependencies {
    testImplementation group: 'junit', name: 'junit', version: '4.13.2'

    implementation group: 'javax.help', name: 'javahelp', version: '2.0.05'

     implementation 'org.apache.logging.log4j:log4j-api:2.20.0'
     implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
}

Buildpath

Error_1

Do you have the log4j-api.jar on the module path when launching your application or on the classpath?

It was under the class path, you can see it on the screenshots shared .

Well, there you have your problem then. :slight_smile: