[英]liquibase pro key issue
I got liquibase trial pro key,but project Validation Failed with message "Change Type 'pro:createFunction' is not allowed without a valid Liquibase Pro License."我获得了 liquibase 试用版密钥,但项目验证失败并显示消息“没有有效的 Liquibase Pro 许可证,不允许更改类型'pro:createFunction'。”
i tried maven config like this我试过像这样的 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&hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&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>
and this和这个
<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.properties
(comannd " liquibase status " in folder with file liquibase.properties shows: Liquibase Pro 4.3.1 by Datical licensed to Liquibase Pro Evaluation until ср march. 24 05:00:00 ALMT 2021 ) (命令“ liquibase status ”在带有文件 liquibase.properties 的文件夹中显示: Liquibase Pro 4.3.1 由 Datical 授权给 Liquibase Pro 评估,直到 2021 年 3 月 24 日 05:00:00 ALMT )
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&hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
liquibaseProLicenseKey: ABwwG...
I launched spring boot wrong.我启动 spring 启动错误。 I had to luacnh with maven mvn spring-boot:run
我不得不使用 maven mvn spring-boot:run
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.