您好,我遇到了未解决的依赖关系的问题:
sbt.ResolveException:未解决的依赖关系:play#sbt-plugin;2.2.0:
未找到
然后我在这里找到了解决方案:将项目升级到 Play Framework 2.2.0 版本 https://stackoverflow.com/questions/19045124/upgrading-project-to-version-2-2-0-of-the-play-framework
I followed the steps now when I compile or run play there are not errors but when I load the webpage I'm working with it can't find some of the files in /assets/css. After all the changes proposed on the solution I use the command clean
, but still the same problem [Status Code:404 Not Found].
这就是我在资产中调用文件的方式:
> layout.scala.html
<link rel="stylesheet" href="@routes.Assets.at("css/layout.min.css")" type="text/css">
<link rel="stylesheet" href="@routes.Assets.at("css/style.min.css")" type="text/css">
<link rel="stylesheet" href="@routes.Assets.at("css/blocks.min.css")" type="text/css">
我用的是play 2.2.0。知道如何解决吗?谢谢
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)