Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.x
-
Fix Version/s: None
-
Component/s: Core, Core Examples
-
Labels:None
-
Number of attachments :
Description
when running the example from 4.0 branch I got this error:
Processing system properties {java.awt.headless=true} System property 'java.awt.headless' set to 'true' Using controls EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=true,verboseFailures=false,verboseFiltering=false,storyTimeoutInSecs=100,threads=1] Generating reports view to '/Users/cvgaviao/Development/C4Biz_Projects/JBehave/jbehave-core/examples/trader-annotations/target/jbehave' using formats '[console, txt, html, xml, stats]' and view properties '{defaultFormats=stats, decorateNonHtml=true, viewDirectory=view, decorated=ftl/jbehave-report-decorated.ftl, reports=ftl/jbehave-reports-with-totals.ftl, maps=ftl/jbehave-maps.ftl, navigator=ftl/jbehave-navigator.ftl, views=ftl/jbehave-views.ftl, nonDecorated=ftl/jbehave-report-non-decorated.ftl}' Reports view generated with 0 stories (of which 0 pending) containing 0 scenarios (of which 0 pending) org.jbehave.core.io.StoryResourceNotFound: Story path 'parametrised.story' not found by class loader sun.misc.Launcher$AppClassLoader@4eb0a518 at org.jbehave.core.io.LoadFromClasspath.resourceAsStream(LoadFromClasspath.java:44) at org.jbehave.core.io.LoadFromClasspath.loadResourceAsText(LoadFromClasspath.java:29) at org.jbehave.core.io.LoadFromClasspath.loadStoryAsText(LoadFromClasspath.java:38) at org.jbehave.core.embedder.PerformableTree.storyOfPath(PerformableTree.java:193) at org.jbehave.core.embedder.PerformableTree.performableGivenStories(PerformableTree.java:177) at org.jbehave.core.embedder.PerformableTree.performableScenario(PerformableTree.java:141) at org.jbehave.core.embedder.PerformableTree.performableStory(PerformableTree.java:98) at org.jbehave.core.embedder.PerformableTree.addStories(PerformableTree.java:68) at org.jbehave.core.embedder.StoryManager.runStories(StoryManager.java:78) at org.jbehave.core.embedder.Embedder.runStoriesAsPaths(Embedder.java:203) at org.jbehave.core.junit.AnnotatedPathRunner.run(AnnotatedPathRunner.java:80) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
It seems that it's only the relative file lookup that fails.