Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
at-tantv opened this issue Jul 7, 2017 · 2 comments
Open

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

at-tantv opened this issue Jul 7, 2017 · 2 comments

Comments

@at-tantv
Copy link

at-tantv commented Jul 7, 2017

[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

@yanns
Copy link
Member

yanns commented Jul 11, 2017

Is your application as jar file in the lib folder?

@at-tantv
Copy link
Author

i have jar and lib folder But it dont have file index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants