【问题标题】:liquibase pro key issueliquibase pro 关键问题
【发布时间】:2021-05-23 09:12:46
【问题描述】:

我获得了 liquibase 试用版密钥,但项目验证失败,并显示消息“没有有效的 Liquibase Pro 许可证,不允许更改类型 'pro:createFunction'。”

我试过这样的 maven 配置

<configuration>
    <changeLogFile>${project.basedir}/src/main/resources/config/liquibase/master.xml</changeLogFile>
    <diffChangeLogFile>${project.basedir}/src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
    <driver>org.postgresql.Driver</driver>
    <url>jdbc:postgresql://localhost:5432/FreshHipster</url>
    <defaultSchemaName></defaultSchemaName>
    <username>FreshHipster</username>
    <password></password>
    <referenceUrl>hibernate:spring:domain.folder?dialect=org.hibernate.dialect.PostgreSQL9Dialect&amp;hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&amp;hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy</referenceUrl>
    <verbose>true</verbose>
    <logging>debug</logging>
    <contexts>!test</contexts>
    <liquibaseProLicenseKey>ABwwGg...</liquibaseProLicenseKey>

 </configuration>  

还有这个

<configuration>
  <propertyFile>liquibase.properties</propertyFile>
<diffChangeLogFile>${project.basedir}/src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
<verbose>true</verbose>
<logging>debug</logging>
<contexts>!test</contexts>
</configuration>

liquibase.properties

(comand "liquibase status" 在带有文件 liquibase.properties 的文件夹中显示: Datical 的 Liquibase Pro 4.3.1 授权给 Liquibase Pro 评估,直到三月。 24 05:00:00 ALMT 2021 )


changeLogFile: ${project.basedir}/src/main/resources/config/liquibase/master.xml
url: jdbc:postgresql://localhost:5432/FreshHipster
username: FreshHipster 
password: 
driver: org.postgresql.driver
referenceUrl: hibernate:spring:domain.folder?dialect=org.hibernate.dialect.PostgreSQL9Dialect&amp;hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&amp;hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
liquibaseProLicenseKey: ABwwG...

【问题讨论】:

    标签: maven liquibase license-key


    【解决方案1】:

    我错误地启动了弹簧靴。 我不得不使用 maven mvn spring-boot:run

    【讨论】:

      猜你喜欢
      • 2014-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-10
      • 2016-10-30
      • 2011-03-03
      • 2014-10-18
      相关资源
      最近更新 更多