Play 2.3.4 Project won't build anymore

Hello,

I am trying to build an old project of mine but it seems like most dependencies have been taken off of the internet:

./activator run

...

==== Maven Central: tried
http://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.2.10/activator-launcher-1.2.10.pom

...

I tried digging for the older typesafe.com dependencies but couldn’t get my hands on any of them.

Also tried sbt run but got a similar output.

Maybe I can find the jars somewhere so I could build this project again? Any help would be greatly appreciated.

Were you able to fix this? I have similar problems with Play 2.3.7.

Unfortunately no. If you manage to fix it, please reply this post, I still need to build my old project.

@arnett @AndrejDelany What does your build.sbt and project/plugins.sbt and project/build.properties look like?

1 Like

build.sbt

name := """WordDeck"""

version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayJava)

scalaVersion := "2.11.1"

libraryDependencies ++= Seq(
  javaJdbc,
  javaEbean,
  cache,
  "mysql" % "mysql-connector-java" % "5.1.27",
  "org.avaje.ebeanorm" % "avaje-ebeanorm-api" % "3.1.1",
  "org.json" % "org.json" % "chargebee-1.0"
)

plugins.sbt

resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"

// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.7")

// web plugins

addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.1")

addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.1")

addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.0.0")

build.properties

#Activator-generated Properties
#Thu Dec 04 22:45:04 CET 2014
template.uuid=b8c48296-17e1-4a16-bc6d-2d69e7ae8057
sbt.version=0.13.5

I did lots of research on this, some people. said this was due to https disabled when fetching dependencies, but updating didn’t resolve, other said this was because activator is not available anymore, so I would need to find the jar dependencies offline so that SBT can find them locally instead of trying to find online. I am currently trying to find the jar dependencies so that I can build the project offline, this would resolve my issue, but I can’t seem to find on the repositories (mvnrepository and look-alikes). You can find the requested files below:

build.sbt


version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayJava)

scalaVersion := "2.11.1"

libraryDependencies ++= Seq(
  javaJdbc,
  javaEbean,
  cache,
  javaWs,
  "mysql" % "mysql-connector-java" % "5.1.34"
)

project/build.properties

#Tue Oct 07 20:32:07 BRT 2014
template.uuid=5f91b045-ad7c-4a08-b31e-3f5ea4bacb81
sbt.version=0.13.5

project/plugins.sbt

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.4")

// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.0.0")