liquibase pro关键问题



我获得了liquibase试用版pro密钥,但项目验证失败,提示"没有有效的liquibase pro许可证,不允许更改类型'pro:createFunction'"。

i try maven config like this

<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

(命令">液体状态"在文件夹与文件liquibase。属性显示:Liquibase Pro 4.3.1由Datical授权给Liquibase Pro评估,直到3月31日。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 mvn spring-boot:run

相关内容

  • 没有找到相关文章

最新更新