如何编译Vaadin 8应用程序,因为它已停产
我怀疑这与最近停产的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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
事实证明,问题是升级到 Maven 3.8.1(通过 Intellij 升级)以及使用
http
获取 vaadin 插件库的旧版pom.xml
的组合。版本 8。要更正它,我必须在pom.xml
中更改以下内容:特别注意
有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
usinghttp
for the vaadin addons library from version 8. To correct it I had to change the following in mypom.xml
:Specifically notice the
<url>
hashttps
rather thanhttp
.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.