Skip to content

Missing SLF4J Dependency Causing Runtime Error #32

@Moh-Snoussi

Description

@Moh-Snoussi

Description

First of all, thank you for your work on this project.

I encountered an error when running ./startAgent.sh,The error was caused by a missing SLF4J dependency:

ERROR: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

Perfmon-Server-Agent version: 2.2.3
Operating System: Ubuntu 20.04.6 LTS
Java version: openjdk 11.0.20 2023-07-18

I was able to resolve the issue by manually downloading the SLF4J API JAR file from the Central Repository and placing it in the lib directory of the project. However, this information was not mentioned in the project's documentation. It would be immensely helpful to update the documentation or to include all necessary dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions