JBehave
  1. JBehave
  2. JBEHAVE-193

Cannot find the persistence.xml file

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Maven Plugin
    • Labels:
      None
    • Environment:
      intellij and ubuntu command line
    • Number of attachments :
      0

      Description

      Running the sceanario from either eclipse or intellij, the Persistence.createEntityManagerFactory("party-test"); finds the persistence.xml file just fine, and everything works. However running it via the maven plugin, and it can't find the file at all. I suspect this is a classpath issue, since the persistence.xml file is in a /META-INF directory and not in the normal classpath. I could be wrong though.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Hide
        Mauro Talevi added a comment -

        Jim, can you attach a simple Maven project reproducing the problem?

        Show
        Mauro Talevi added a comment - Jim, can you attach a simple Maven project reproducing the problem?
        Mauro Talevi made changes -
        Fix Version/s 2.4 [ 15664 ]
        Mauro Talevi made changes -
        Comment [ Descoped until it can be reproduced and verified. ]
        Hide
        Mauro Talevi added a comment -

        Descoped until it can be reproduced and verified.

        Show
        Mauro Talevi added a comment - Descoped until it can be reproduced and verified.
        Mauro Talevi made changes -
        Fix Version/s 2.4 [ 15664 ]
        Hide
        Mauro Talevi added a comment -

        Closing as cannot be reproduced. Please re-open if you can provide a re-produceable example.

        Show
        Mauro Talevi added a comment - Closing as cannot be reproduced. Please re-open if you can provide a re-produceable example.
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Jim Barrows
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: