Skip to content

CyBench trying to run on a deleted class #5

@cbernardone

Description

@cbernardone

I changed the name of the class I am using, deleted the old benchmark and re-generated. It still is looking for the old class. There must be something that needs to be cleared out so it recognizes the new class instead of the old one. How can I do that? I keep getting "class not found" error, but the class the error references no longer exists.

Executing benchmarks...
Classes selected to run: com.nastel.jkool.service.fatpipes.predictgrid.TrainModelRequestHandler
Class not found in the classpath for execution
java.lang.ClassNotFoundException: com.nastel.jkool.service.fatpipes.predictgrid.TrainModelRequestHandlerBenchmarksOld
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.gocypher.cybench.launcher.CyBenchLauncher.main(CyBenchLauncher.java:159)
Exception in thread "main" No benchmarks to run; check the include/exclude regexps.
at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:272)
at org.openjdk.jmh.runner.Runner.run(Runner.java:210)
at com.gocypher.cybench.launcher.CyBenchLauncher.main(CyBenchLauncher.java:170)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions