如何编译Vaadin 8应用程序,因为它已停产

发布于 2025-01-18 22:39:28 字数 208 浏览 3 评论 0原文

我怀疑这与最近停产的Vaadin 8有关。我正在尝试运行vaadin 8参考应用程序,以作为升级为vaadin流量的升级工作的一部分,今天开始给我Maven编译错误,即Vaadin 8不再可用。在com.vaadin:vaadin-charts上收集依赖项,依此类推。所有Vaadin 8依赖项(包括所有Vaadin 8插件库)也发生了这种情况。我需要在我的IDE中运行参考应用程序,但找不到任何方法。

I suspect this is related to Vaadin 8 recently being discontinued. I'm trying to run a Vaadin 8 reference application as part of an upgrade effort to Vaadin Flow and today it's starting to give me maven compile errors that the dependencies are no longer available for Vaadin 8. For example I got the error "Failed to collect dependencies at com.vaadin:vaadin-charts" and so on with the details of the version. This is also happening for all Vaadin 8 dependencies, including all Vaadin 8 addons libraries. I need to run the reference application in my IDE but cannot find any way to do so.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

聊慰 2025-01-25 22:39:29

Vaadin 8的最后一个免费公开版本是8.14.3版。该版本在Maven Central不会被删除。因此,这仍然是可用的。

The last free public release of Vaadin 8 is version 8.14.3. The release is in maven central is not going to be removed. So it remains to be usable.

池予 2025-01-25 22:39:29

事实证明,问题是升级到 Maven 3.8.1(通过 Intellij 升级)以及使用 http 获取 vaadin 插件库的旧版 pom.xml 的组合。版本 8。要更正它,我必须在 pom.xml 中更改以下内容:

<repository>
    <id>vaadin-addons</id>
    <url>https://maven.vaadin.com/vaadin-addons</url>
</repository>

特别注意 https 而不是http

话虽这么说,我对 Vaadin 图表仍然存在一个问题,即不再识别类 com.vaadin.addon.charts.model.style.SolidColor

唯一可行的解​​决方案是恢复到 Maven 3.6.3因为即使 https 更改,我也无法使用 Maven 3.8.1 完全解决它。

Turns out the issue was a combination of upgrading to Maven 3.8.1 (through an Intellij upgrade) as well as an older pom.xml using http for the vaadin addons library from version 8. To correct it I had to change the following in my pom.xml:

<repository>
    <id>vaadin-addons</id>
    <url>https://maven.vaadin.com/vaadin-addons</url>
</repository>

Specifically notice the <url> has https rather than http.

That being said I still have a remaining issue with Vaadin charts that no longer recognizes the class com.vaadin.addon.charts.model.style.SolidColor

The only working solution was to revert to Maven 3.6.3 as I could not make fully resolve it with Maven 3.8.1 even with the https change.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文