Play学习笔记——Hello World

参考

https://github.com/lupingqiu/metadata-scala-play

在project文件夹下添加

build.properties

sbt.version=1.2.1

plugins.sbt

// The Typesafe repository
resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"

// Typesafe snapshots
resolvers += "Typesafe Snapshots" at "https://repo.typesafe.com/typesafe/snapshots/"

// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.12")

运行

sbt
run -Dhttp.port=8080

  

posted @ 2016-03-22 16:19  tonglin0325  阅读(154)  评论(0编辑  收藏  举报