jbehave / jbehave-core

BSD 3-Clause "New" or "Revised" License
31 stars 17 forks source link

Threads Example not running, getting java.lang.ClassCastException #45

Closed ashanmuga closed 1 year ago

ashanmuga commented 2 years ago

I am trying to run this Thread examples locally. Getting below error.
Caused by: java.lang.ClassCastException: class org.jbehave.examples.threads.steps.ThreadsSteps cannot be cast to class org.jbehave.core.Embeddable (org.jbehave.examples.threads.steps.ThreadsSteps is in unnamed module of loader org.jbehave.core.embedder.EmbedderClassLoader @12b5454f; org.jbehave.core.Embeddable is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @70325d20)

I am following same for my project , still same issue,

valfirst commented 2 years ago

@ashanmuga could you please report your issue here: https://jbehave.atlassian.net/browse/JBEHAVE ? Also make sure to provide the details: