Skip to content

Cannot run war on tomcat 8 - Playframwork 2.4.x #318

@at-tantv

Description

@at-tantv

[help me]
I will config as below
import com.github.play2war.plugin._
name := """light-play-rest-api"""
scalaVersion := "2.11.7"
version := "1.0-SNAPSHOT"
val appVersion = "1.0-SNAPSHOT"
Play2WarPlugin.play2WarSettings
Play2WarKeys.servletVersion := "3.1"
lazy val main = (project in file("."))
.enablePlugins(PlayScala)
.settings(Play2WarPlugin.play2WarSettings: _*).settings(
Play2WarKeys.servletVersion := "3.1"
).settings(
Play2WarKeys.targetName := Some("war_file_name")
)

resolvers += Classpaths.sbtPluginReleases
resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.2")

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.4")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.0.0.BETA1")
addSbtPlugin("com.github.play2war" % "play2-war-plugin" % "1.4.0")


Build OK - so it 's not enough file
It does not have index file
only two folder

  • META-INF
  • WEB-INT

-----
untitled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions