【问题标题】:How to add vaadin instead of thymeleaf in existing project in intellij?如何在 intellij 的现有项目中添加 vaadin 而不是 thymeleaf?
【发布时间】:2020-02-08 20:22:24
【问题描述】:

我有几个由 spring.io 创建的 vaadin 项目,并且一切正常。现在我想将 vaadin 添加到使用 thymeleaf 的现有项目中。当我添加 vaadin maven 依赖项并删除 thymeleaf 依赖项时,我的类会看到 vaadin bibliotecs 但它无法编译。 Intellij 说没有找到资源。我需要添加比依赖项更多的东西?

看起来 vaadin 根本没有启动,应用程序编译需要 5 秒,而在其他具有 vaadin 的应用程序中,应用程序在超过 20 秒后启动。

【问题讨论】:

    标签: java spring-boot configuration thymeleaf vaadin


    【解决方案1】:

    最简单的方法是转到https://vaadin.com/start/latest 并创建一个新项目。

    然后将旧代码复制到新项目中。

    【讨论】:

      猜你喜欢
      • 2023-04-09
      • 2022-01-03
      • 2012-12-12
      • 1970-01-01
      • 2016-06-02
      • 2016-01-14
      • 1970-01-01
      • 2021-10-27
      相关资源
      最近更新 更多