Scalatra 3.0 / 3.1 Guides
Outlook
Supported Versions
Scalatra 3.0 / 3.1 supports Scala 2.12, 2.13 and 3.
Also, Scalatra 3.0/3.1 supports Servlet 4.0.1 but Scalatra 3.0 supports 5.0.0 while Scalatra 3.1 supports 6.0.0. Note that the artifact names have suffix depending on Servlet version as follows:
// for javax (Servlet 4.0.1)
"org.scalatra" %% "scalatra-javax" % "3.0.0",
"org.scalatra" %% "scalatra-json-javax" % "3.0.0",
"org.scalatra" %% "scalatra-forms-javax" % "3.0.0",
...
// for jakarta (Servlet 5.0.0/6.0.0)
"org.scalatra" %% "scalatra-jakarta" % "3.0.0",
"org.scalatra" %% "scalatra-json-jakarta" % "3.0.0",
"org.scalatra" %% "scalatra-forms-jakarta" % "3.0.0",
...
Development
We’ve documented most aspects of working with Scalatra in a series of guides covering common development tasks.