On Tue, Nov 25, 2008 at 6:18 PM, Roman Bogorodskiy
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm a first time user of jbehave and I was following 'two minute
> tutorial'. I've created an empty maven project and created a special
> package, then created the scenario with a name 'hello_world', in the
> same package created a class HelloWorld which extends Scenario and
> created class HelloSteps which extends Steps, and created an
> constructor for HelloWorld class like it was described in the 'two
> minutes tutorial'. Now when I'm trying to stat it from Idea, I gives
> me the following exception:
>
> org.jbehave.scenario.errors.ScenarioNotFoundException: Scenario
> org/evilcoder/novel/jbehavehelloworld/scenarios/hello_world could not
> be found by classloader [EMAIL PROTECTED]
>
> Looks like I'm missing something but I've spent whole day and wasn't
> able to figure out what's wrong. Any suggestions?
>
> PS I was trying to start these tests not only from Idea, but from
> maven as well, using maven-ant-run plugin and ant target, like it's
> described on the jbehave site, with no success. I was trying to place
> stuff both into 'main' and 'test', but it doesn't help as well.
>
> Any help would be appreciated.

The problem was solved by adding

                <resource>
                        <directory>${basedir}/src/test/java</directory>
                        <filtering>false</filtering>
                </resource>

to the pom.xml.

Roman Bogorodskiy

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to