org.flywaydb.core.internal.license.flywayenterpriseupgraderequiredexception-classnotfoundexception

k0pti3hp  于 2021-07-06  发布在  Java
关注(0)|答案(1)|浏览(433)

在我的 pom.xml ,我有:

<dependency>
    <groupId>org.flywaydb</groupId>
    <artifactId>flyway-core</artifactId>
    <version>7.3.1</version>
</dependency>

然而,当我运行我的web应用程序时,我得到了一个 ClassNotFoundException 为了 org.flywaydb.core.internal.license.FlywayEnterpriseUpgradeRequiredException .
拜托,救命啊。

wkftcu5l

wkftcu5l1#

班级 FlywayEnterpriseUpgradeRequiredException 当“企业版”和“专业版”合并为“团队版”时,在第7版中被删除。应用程序代码似乎显式地捕获了v6异常类型,因此需要对其进行更新。
完全限定类名包括 internal 这应该表明它不是api的正式部分,也不应该依赖于不更改(尽管在主要版本中,在任何情况下都可能破坏api更改)。应用程序应该捕获父类 org.flywaydb.core.api.FlywayException 相反。

相关问题