On Fri, Oct 24, 2008 at 9:44 PM, Binil Thomas <[EMAIL PROTECTED] > wrote:
> When my scenario class is in src/main/java, jbehave complains : > >> [INFO] [compiler:compile] >> [INFO] Compiling 1 source file to >> /Users/binil/temp/jbehave-try/target/classes >> > ... > >> [INFO] Failed to instantiate scenarios [binil.HeyHeyMyMy] >> Embedded error: The Scenario 'binil.HeyHeyMyMy' could not be instantiated >> with classpath elements: [/Users/binil/temp/jbehave-try/target/classes/, >> jbehave-core-2.0.1.jar, junit-4.4.jar] >> binil.HeyHeyMyMy.<init>(java.lang.ClassLoader) >> > It worked when I change my constructor to take a ClassLoader. What is the constructor supposed to do with this ClassLoader, though? Thanks, Binil
