升级Vaadin项目从22.0.2版本到22.1.0版本时出现错误。

huangapple go评论86阅读模式
英文:

Error in Vaadin project when upgrading from 22.0.2 to 22.1.0 version

问题

我尝试将我的Vaadin版本从22.0.2升级到22.1.0以解决此漏洞:

但是,当我使用maven编译项目时,我收到以下消息:

[INFO] 打开系统浏览器以验证许可证。如果浏览器没有打开,请手动打开https://vaadin.com/pro/validate-license?connect=76ed2a34-0e7d-4371-a8fe-18088ed1636e&product
Name=flow&productVersion=9.1.2
[INFO] 对于CI/CD构建服务器,您需要下载一个服务器许可证密钥,该密钥只能用于生产构建。您可以从https://vaadin.com/my
account/licenses下载服务器许可证密钥。
如果您在离线开发模式下工作,请访问https://vaadin.com/pro/validate-license?getOfflineKey=mid-785f5586-288733d9获取离线开发模式许可证。

...

[ERROR] 执行目标com.vaadin:vaadin-maven-plugin:22.1.0:build-frontend (build-frontend)时失败:无法验证许可证,请检查您的互联网连接。如果您需要离线工作,请转到https://vaadin.com/pro/validate-
license?getOfflineKey=mid-785f5586-288733d9以获取离线密钥。
[ERROR] 对于CI/CD构建服务器,您需要下载一个服务器许可证密钥,该密钥可以离线工作以创建生产构建。您可以从https://vaadin
.com/myaccount/licenses下载服务器许可证密钥。

我没有使用任何商业功能,事实上,之前的版本没有任何问题。
为什么这个新版本在我没有更改任何代码的情况下失败?我该如何解决这个问题?

英文:

I have tried to upgrade my Vaadin version from 22.0.2 to 22.1.0 in order to solve this vulnerability:

https://vaadin.com/security/cve-2023-25499?utm_campaign=Vaadin%20Security%20Advisories&utm_medium=email&_hsmi=263537165&_hsenc=p2ANqtz-_okTMU7vlUb8lpc_UF0qnQ586WYzHfDWUQmpJcsbLmzjUrUBkVugEYeUTPuKQE9gjJxp_pgn-8pz0u84xpumm7lEO9Cg&utm_content=263537165&utm_source=hs_email

But when I compile the project whith maven compile I get this message:

[INFO] Opening system browser to validate license. If the browser is not opened, please open https://vaadin.com/pro/validate-license?connect=76ed2a34-0e7d-4371-a8fe-18088ed1636e&product
Name=flow&productVersion=9.1.2 manually
[INFO] For CI/CD build servers, you need to download a server license key, which can only be used for production builds. You can download a server license key from https://vaadin.com/my
account/licenses.
If you are working offline in development mode, please visit https://vaadin.com/pro/validate-license?getOfflineKey=mid-785f5586-288733d9 for an offline development mode license.

...

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:22.1.0:build-frontend (build-frontend) on project proyecto-app: Execution build-frontend of goal com.vaadin:vaadin-maven-p
lugin:22.1.0:build-frontend failed: Unable to validate the license, please check your internet connection. If you need to work offline then please go to https://vaadin.com/pro/validate-
license?getOfflineKey=mid-785f5586-288733d9 to retrieve an offline key.
[ERROR] For CI/CD build servers, you need to download a server license key, which can work offline to create production builds. You can download a server license key from https://vaadin
.com/myaccount/licenses.

I don't use any commercial feature, in fact the previous version works without any problem.
Why does this new version fails when I haven't change any code? How can I solve it?

答案1

得分: 4

错误信息表示您尚未安装许可证。

无法验证许可证,请检查您的互联网连接。如果需要离线工作,请访问 https://vaadin.com/pro/validate-license

22版本不再免费支持(已于3月23日结束)。如果您有许可证,请安装它;如果没有,请升级到23版本,这是当前的免费LTS版本。

Vaadin 22是支持Java 8的最新稳定版本,将额外维护一年,直到2023年3月,以帮助过渡到Java 11。Prime客户将获得支持直到2024年3月。


来源:https://vaadin.com/releases/

英文:

The error states, that you have not installed your license.

> Unable to validate the license, please check your internet connection. If you need to work offline then please go to https://vaadin.com/pro/validate- license?

22 is no longer supported for free (ended March 23). If you have a license,
install it - if not, update to 23, which is the current free LTS.

> Vaadin 22 is the latest stable version to support Java 8, and will be
> exceptionally maintained for an extra year, until March 2023, to help
> transition to Java 11. Prime customers will get support until Match [sic] 2024.
>
> ---
>
> Source: https://vaadin.com/releases/

答案2

得分: 4

Vaadin 22.1 是一个商业功能,正如发布说明中所描述的那样。

Vaadin 22 最初应该按照 Vaadin 版本 15 - 21 相同的计划进行,只维护几个月,直到下一个主要版本发布。但后来意识到,由于 Vaadin 23 中增加了最低要求的 Java 版本,一些用户仍然停留在 Vaadin 22 上。因此,Vaadin 22 的维护期限被延长了 12 个月,以给用户升级的时间。这 12 个额外的月份现在已经过去,免费维护已经结束。

英文:

Vaadin 22.1 is a commercial feature in itself, as described in the release notes.

Vaadin 22 was originally supposed to follow the same scheme as Vaadin versions 15 - 21 to only be maintained for a couple of months until the next major version was released. It was realized that some users were stuck on Vaadin 22 because the minimum required Java version was increased in Vaadin 23. For this reason, the maintenance duration for Vaadin 22 was extended by 12 months to give users time to upgrade. Those 12 additional months have now passed and free maintenance has ended.

huangapple
  • 本文由 发表于 2023年6月29日 14:24:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76578503.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定