Dear reader, I am having a difficulty running Jmh in my modular ant project. Following is my environment,
Netbeans 22, Jmh 1.37, Jdk 22 I have tried all options and searched the internet extensively but to no avail. I tried setting the compiler options as -proc:none,-proc:full. Enabled and disabled annotation processing in netbeans, but no luck. The jmh library is working fine in maven project but not in my ant project. I am getting the following exception in my ant project, Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find the resource: /META-INF/BenchmarkList at jmh.core@1.37/org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:98) at jmh.core@1.37/org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:124) at jmh.core@1.37/org.openjdk.jmh.runner.Runner.internalRun(Runner.java:252) at jmh.core@1.37/org.openjdk.jmh.runner.Runner.run(Runner.java:208) at main/run.Run.main(Run.java:87) Please help me resolve the above issue, thank you. Regards, Waqas Azmat