【问题标题】:object twitterBootstrap is not a member of package views.html.helper [closed]对象twitterBootstrap不是包views.html.helper的成员[关闭]
【发布时间】:2016-01-06 04:36:53
【问题描述】:

从标准输出读取:D:\PROJECTS\test\SimpleRequest5\app\views\products\editProduct.scala.html:11: object twitterBootstrap is not a member of package views.html.helper D:\PROJECTS\test\SimpleRequest5\app\views\products\editProduct.scala.html:11: object twitterBootstrap is not a member of package views.html.helper 从标准输出读取:

@Messages("products.form")

@Messages("products.form")

从标准输出读取:^ ^

【问题讨论】:

标签: scala playframework


【解决方案1】:

来自https://www.playframework.com/documentation/2.3.3/Migration23#Twitter-Bootstrap:

内置的 Twitter Bootstrap 字段构造函数已被弃用,并将在 Play 的未来版本中删除。

造成这种情况的原因有几个,一个是我们发现 Bootstrap 版本之间的变化过于剧烈且过于频繁,以至于 Play 提供的任何内置支持很快就会变得陈旧并且与当前的 Bootstrap 版本不兼容。

【讨论】:

    猜你喜欢
    • 2012-10-07
    • 2022-01-01
    • 2018-02-21
    • 2012-12-20
    • 2018-09-10
    • 2021-12-06
    • 2021-06-03
    • 2016-02-29
    • 2018-10-25
    相关资源
    最近更新 更多