Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tiny Scala high-performance, async web framework, inspired by Sinatra
Scala Shell CSS Other
Latest commit d448825 @rossabaker rossabaker Found another typo.
Failed to load latest commit information.
atmosphere/src Fixing the owner chain using a multi-step macro approach.
auth/src Remove past json files for
cache-guava/src Remove past json files for
cache/src Fixes double evaluation of result
commands/src s/fail/failure
common/src/main/scala/org/scalatra Remove past json files for
core/src Merge pull request #535 from seratch/feature/2.4.x/531
example/src/main Optimize imports by using IntelliJ IDEA
fileupload/src Remove past json files for
jetty/src Remove past json files for
json/src Fixes #486.
metrics/src Merge pull request #505 from scalatra/topic/metrics-scala-3.5.x
notes Update release notes
project Bump dependencies, scala minor version
scalate/src Removed request/response scoping macro from 2.4.x release.
scalatest/src/main/scala/org/scalatra/test/scalatest Remove past json files for
slf4j/src/main/scala/org/scalatra/slf4j Have valid request/response in scope when an AtmosphereClient is cons…
specs2/src updated specs2 to 3.6.+
spring/src Optimize imports by using IntelliJ IDEA
swagger-ext/src Remove past json files for
swagger/src updated specs2 to 3.6.+
test/src updated specs2 to 3.6.+
.gitignore define .jvmopts
.jvmopts define .jvmopts
.travis.yml Bump dependencies, scala minor version
CONTRIBUTING.markdown Found another typo. Credits and notes.
LICENSE Rename project to Scalatra. Thanks to Hiram Chirino for the name.
README.markdown Correcting guide and linking it from README
crosspaths.sbt fiddle a bit with the build, fix tostring on a binding
publishing.sbt upgrade a bunch of dependencies but not jetty
sbt Fixing typesafe repository.
version.sbt SNAPSHOT


Scalatra Build Status

Join the chat at

Scalatra is a tiny, Sinatra-like web framework for Scala.


import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>


If you're just starting out, see the installation and first project sections of our website.

Once you've done that, take a look at the Scalatra Guides for documentation on all aspects of the framework, code examples, and more. We also have an extensive selection of Example Applications which accompany the tutorials in the Scalatra Guides.

Latest version

The latest stable version of Scalatra is 2.3.1, and is published to Maven Central.

libraryDependencies += "org.scalatra" %% "scalatra" % "2.3.1"

The upcoming 2.4.0 RC release is also available. Please git it a try and give us your feedback!

libraryDependencies += "org.scalatra" %% "scalatra" % "2.4.0.RC3"

Development version

The 2.4.x branch is published as 2.4.0-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at ""

libraryDependencies += "org.scalatra" %% "scalatra" % "2.4.0-SNAPSHOT"


Something went wrong with that request. Please try again.