-1

Following is my environment.

netbeans 22, jdk 22.0.2, jmh 1.37.

I have added jmh to the netbeans libraries and have added it to my modular ant project. Everything is workig fine, the project compiles but when i run it, it gives me the following exception,

Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find the resource: /META-INF/BenchmarkList at [email protected]/org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:98) at [email protected]/org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:124) at [email protected]/org.openjdk.jmh.runner.Runner.internalRun(Runner.java:252) at [email protected]/org.openjdk.jmh.runner.Runner.run(Runner.java:208) at main/run.Run.main(Run.java:87)

how can i fix the above exception, am i missing something.

1
  • Hello Smith, in the folder dist of your proyect, is the folder lib with the jar jmh 1.37.jar? Commented Aug 31 at 17:23

0

Browse other questions tagged or ask your own question.