Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3031

Error with WAR packaging: META-INF\spring\applicationContext.xml not found on "jpa setup" command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RELEASE
    • Fix Version/s: 1.2.1.RELEASE
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      The following issue was filed against STS 2.9.0M2, which added support for the --provider flag: https://issuetracker.springsource.com/browse/STS-2400

      "When you create a new Roo Project, selecting WAR, the jpa setup command fails:

      roo> jpa setup --database H2_IN_MEMORY --provider HIBERNATE
      File 'C:\Users\xxxxx\Documents\workspace-sts\TestProject\src\main\resources\META-INF\spring\applicationContext.xml' does not exist"

      I tested this case both inside STS and outside just using the Roo console, and in both cases I ran in to the same error. Is this a known issue?

        Attachments

          Activity

            People

            Assignee:
            aswan Andrew Swan
            Reporter:
            leods Leo Dos Santos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: