今天一个做好的play2.0工程突然运行不起来了,提示value setPrefix is not a member of play.core.Router.Routes
上网查了一下大约是需要sbteclipse-plugin的插件,
检查一下果然被我注释掉了,当时以为不用eclipse 开发就不用这个东西,看来并非如此
具体如下:
/project/plugins.sbt中检查一下是否有
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0")
然后在看一下同一路径下的Build.scala中是否有
import com.typesafe.sbteclipse.plugin.EclipsePlugin._
val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings(
// Add your own project settings here
EclipseKeys.withSource := true
)
之后一定要注意下面的步骤,
1、在工程目录下面
sudo sbt
2、download完包后在
clean
一下
3、最后在
run
一下
分享到:
相关推荐
主要介绍了详解Vue.js搭建路由报错 router.map is not a function,非常具有实用价值,需要的朋友可以参考下
Cisco.Press.Cisco.Router.Configuration.Handbook.2nd.Edition.Jun.2010.rar
Cisco.Press.Cisco.Field.Manual.Router.Configuration
Router > Android 平台路由框架 最新版本 模块 router router-compiler ... compile '...You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unles
vue-router.min.js
016Cisco.Field.Manual.Router.Configurati....chm
vue.min.js和vue-router.min.js
router.config.js
QCA9531 AP-Router WiFi模块的工作原理和功能.pdfQCA9531 AP-Router WiFi模块的工作原理和功能.pdfQCA9531 AP-Router WiFi模块的工作原理和功能.pdfQCA9531 AP-Router WiFi模块的工作原理和功能.pdfQCA9531 AP-...
ROS 6.43.7 Mikrotik RouterOS L6 虚拟机的ova文件, 登录默认用户名admin 密码为空
今天小编就为大家分享一篇解决vue.js this.$router.push无效的问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
这里提供稳定的3.13下载。。此版本非破解版本。。 24小时运行时间。。
RouterOS稳定版 mikrotik-6.47.8.iso
Mikrotik RouterOS is the mainstream microprocessor of the Linux operating system, which, by installing on the company’s dedicated hardware or on standard x86-based computers, converts hardware into a...
[Vue]精致完整的Vue豆瓣项目,Awesome douban DEMO created with Vue2.x Vuex Vue-router vue-resource .zip,Awesome douban DEMO created with Vue2.x Vuex Vue-router Superagent
相关博客: 《MySQL集群方案》: https://blog.csdn.net/Zhuge_Dan/article/details/108339965
SAF-Kotlin-Router 最新版本 模块 saf-router saf-router-compiler saf-router-annotation 最新版本 下载安装 在app 模块目录下的build.gradle中添加 dependencies { implementation '...
network node and router (random and manualy input)