Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-154

Metatdata table is not created automatically for Flyway

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.4
    • Labels:
      None

      Description

      Right now while starting the application with clean DB, we have:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exceptionTranslationInterceptor' defined in class path resource [org/jtalks/jcommune/model/entity/applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/jtalks/jcommune/model/entity/applicationContext-dao.xml]: Invocation of init method failed; nested exception is com.googlecode.flyway.core.validation.ValidationException: Found non-empty schema 'jtalks' without metadata table! Use init() first to initialize the metadata table.

      We need to come up with solution that automatically creates the Metadata table for Flyway.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                jk1 Evgeniy Naumenko
                Reporter:
                ctapobep Stanislav Bashkyrtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel