JBehave
  1. JBehave
  2. JBEHAVE-423

Test run with Eclipse but no with maven

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: Maven Plugin
    • Labels:
      None
    • Environment:
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      I want to integrate Jbehave with maven and have a lot of trouble. I attach a sample with an example. The Story pass if I run as Junit test in eclipse, but when I try with maven fail.

      Is a classloader problem. The exception is:
      org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars
      ing XML document from class path resource [applicationContext.xml]; nested excep
      tion is java.io.FileNotFoundException: class path resource [applicationContext.x
      ml] cannot be opened because it does not exist

      But to fix this I must pass ALL dependencies to the plugin.

      I hope there is a solution to this. Thanks.

        Activity

        Hide
        Gardella Juan Pablo added a comment -

        Duplicate with 424

        Show
        Gardella Juan Pablo added a comment - Duplicate with 424
        Gardella Juan Pablo made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Gardella Juan Pablo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: