22 Apr 2024 |
| loic_helld_awlb joined the room. | 11:56:35 |
| czc2093 joined the room. | 15:10:43 |
23 Apr 2024 |
| yukarwh_71931 joined the room. | 04:57:43 |
| .susliko joined the room. | 11:25:12 |
24 Apr 2024 |
| poonam.yenare joined the room. | 12:32:24 |
| khamasito joined the room. | 19:23:23 |
khamasito | hello | 19:23:25 |
| khamasito | 19:23:27 |
khamasito | I created a new play project using sbt but I can't run it with sbt run | 19:23:40 |
khamasito | [warn] Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading org.playframework:play-filters-helpers_3.1.4:3.0.2
[error] Not found
[error] Not found
[error] not found: C:\Users\ctigr\.ivy2\localorg.playframework\play-filters-helpers_3.1.4\3.0.2\ivys\ivy.xml
[error] not found: https://repo1.maven.org/maven2/org/playframework/play-filters-helpers_3.1.4/3.0.2/play-filters-helpers_3.1.4-3.0.2.pom
[error] not found: https://jcenter.bintray.com/org/playframework/play-filters-helpers_3.1.4/3.0.2/play-filters-helpers_3.1.4-3.0.2.pom
[error] Error downloading org.playframework:play-pekko-http-server_3.1.4:3.0.2 | 19:24:25 |
khamasito | Redacted or Malformed Event | 19:24:28 |
khamasito | there's like 20 errors for many different packages | 19:24:43 |
khamasito | this is my build.sbt file
name := """netsend_server_scala"""
organization := "co.entitysystems"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "3.1.4"
libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "7.0.0" % Test
// Adds additional packages into Twirl
//TwirlKeys.templateImports += "co.entitysystems.controllers._"
// Adds additional packages into conf/routes
// play.sbt.routes.RoutesKeys.routesImport += "co.entitysystems.binders._" | 19:25:07 |
khamasito | * this is my build.sbt file
name := """netsend_server_scala"""
organization := "co.entitysystems"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "3.1.4"
libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "7.0.0" % Test
// Adds additional packages into Twirl
//TwirlKeys.templateImports += "co.entitysystems.controllers._"
// Adds additional packages into conf/routes
// play.sbt.routes.RoutesKeys.routesImport += "co.entitysystems.binders._" | 19:25:14 |
Lucas Nouguier | You should use scalaVersion 3.3.3 (LTS version) | 19:26:51 |
khamasito | let me try, do I just update the version in build.sbt? | 19:27:08 |
Lucas Nouguier | That's not the issue though, have you checked that the library's version is available for scala 3.1.4 ? | 19:27:19 |
Lucas Nouguier | update the build and do an import build | 19:27:34 |
khamasito | let me try | 19:27:42 |
khamasito | says import is not a valid command | 19:28:23 |
Lucas Nouguier | you're in VSC ? | 19:28:43 |
khamasito | intellij idea | 19:28:49 |
khamasito | with scala plugin | 19:28:55 |
Lucas Nouguier | oh, sorry I don't know much about IJ, but there should be a button somewhere to import/reload the build | 19:29:56 |
khamasito | what would be the command in cli? | 19:30:13 |
Lucas Nouguier | you can launch a sbt server | 19:31:24 |
khamasito | I changed the version now sbt run and it's downloading stuff | 19:31:35 |
khamasito | seems to be working | 19:31:38 |
khamasito | works I can access the index page | 19:32:23 |
khamasito | thanks 🙂 | 19:32:41 |