Hi, I'm currently seeing the following error when trying to run JBehave using the maven plugin against a Spring Batch project.
[ERROR] Failed to execute goal org.jbehave:jbehave-maven-plugin:3.9.2:run- stories-as-embeddables (run-stories) on project mrp: Failed to run stories as embeddables: Failure in running embeddable: Hierarchy: Error creating bean with name 'hierarchyConfiguration': Invocation of ini t method failed; nested exception is java.lang.NoClassDefFoundError: org/codehaus/jettison/mapped/Configuration: org.codehaus.jettison.mappe d.Configuration -> [Help 1] I currently only have one story (accompanied by Hierarchy Java class which is a JUnitStory). This uses the SpringStepsFactory which in turns references an annotated HeirarchyConfiguration class for the context. The jettison library is a transitive dependency from spring-batch-core and I can see it referenced in the first lines of INFO from the jbehave plugin (see below). Is this a familiar problem to anyone? [INFO] --- jbehave-maven-plugin:3.9.2:run-stories-as-embeddables (run- stories) @ mrp --- [INFO] Running stories as embeddables using embedder Embedder [storyMapper=StoryMapper,storyRunner=StoryRunner,embedderMonitor=MavenEmbed derM onitor,classLoader=EmbedderClassLoader[urls=[/C:/Dev/mrp/mrp/target/test- classes/, /C:/Dev/mrp/mrp/target/classes/, jbehave-core-3.9 .2.jar, junit-4.11.jar, hamcrest-core-1.3.jar, hamcrest-library-1.3.jar, hamcrest-integration-1.3.jar, commons-collections-3.2.1.jar, common s-io-2.4.jar, commons-lang-2.6.jar, plexus-utils-3.0.10.jar, freemarker- 2.3.19.jar, paranamer-2.4.jar, xstream-1.4.5.jar, xmlpull-1.1.3.1.ja r, xpp3_min-1.1.4c.jar, jbehave-spring-3.9.2.jar, spring-test- 4.0.5.RELEASE.jar, spring-context-4.0.5.RELEASE.jar, spring-aop- 4.0.5.RELEASE. jar, aopalliance-1.0.jar, spring-beans-4.0.5.RELEASE.jar, spring-core- 4.0.5.RELEASE.jar, commons-logging-1.1.3.jar, spring-expression-4.0.5. RELEASE.jar, spring-jdbc-4.0.5.RELEASE.jar, spring-tx-4.0.5.RELEASE.jar, ojdbc7-12.1.0.1.0.jar, spring-batch-core-3.0.0.RELEASE.jar, com.ibm .jbatch-tck-spi-1.0.jar, javax.batch-api-1.0.jar, jettison-1.2.jar, spring- batch-infrastructure-3.0.0.RELEASE.jar, spring-retry-1.1.0.RELEAS E.jar, spring-batch-test-3.0.0.RELEASE.jar, hamcrest-all- 1.3.jar],parent=ClassRealm[plugin>org.jbehave:jbehave-maven-plugin:3.9.2, parent: s Thanks, Jon --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email