You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2026. It is now read-only.
HI i have made rest api in scala using play framework. My Routes files include"
GET / controllers.Application.index
GET /assets/*file controllers.Assets.at(path="/public", file)
POST /createfile @controllers.scala.CaffeOnSpark.FileCreation
Now I added Play2War in my 2.4.1 Play framework. My Build.sbt include
name := "NT_CAFFE"
version := "1.0"
scalaVersion := "2.11.7"
lazy val `NT_CAFFE` = (project in file(".")).enablePlugins(PlayScala)
libraryDependencies ++= Seq( jdbc , cache , ws , specs2 % Test )
crossScalaVersions := Seq("2.10.4", "2.11.0", "2.11.1", "2.11.7")
In play framework , we dont need web.xml. Routes does all the work.
i am able to build war file.. but it includes only lib folder..i mean no classes are there. I copy pasted it in the webapps folder of tomcat and deployed it. But it gives me Action Not found error. Please can you help me with this. What am i missing ?
HI i have made rest api in scala using play framework. My Routes files include"
Now I added Play2War in my 2.4.1 Play framework. My Build.sbt include
My Plugins.sbt includes
In play framework , we dont need web.xml. Routes does all the work.
i am able to build war file.. but it includes only lib folder..i mean no classes are there. I copy pasted it in the webapps folder of tomcat and deployed it. But it gives me Action Not found error. Please can you help me with this. What am i missing ?