I'm trying to do Server Performance Testing in Jmeter - 5.4.2 via PerfMon - 2.3. But when I try to run the bat file of startAgent - 2.2.3 it just opens for one moment and them closes (Note that I've JRE version 1.8 installed). When I tried to open the file via cmd directory command it's giving me the following error:
`ERROR: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
- I've tried to install the 2.2 version of startAgent.
- I've tried to put the startAgent in the same directory as JMeter.
- I've tried start it by disabling Firewall and Anti-Virus.
But nothing is working. I tried to do some related research regarding this error but there isn't many solution that I have found to be useful.
I was facing same issue when I tried unzipping the server-agent folder elsewhere so I unzipped it in a folder in C drive (C:\Jmeter) and it worked for me.