Skip to main content
Filter by
Sorted by
Tagged with
1 vote
3 answers
94 views

How to write for play framework scala 3 enums reads, writes and format

I could see many threads pointing to solutions for Playframework json to work with scala 2 enums but none I could get working for scala 3 enums. Tried below solutions but not working case class A(freq:...
Raj Malhotra's user avatar
0 votes
1 answer
43 views

Testing play framework controller with multipartdata

He guys, I'm having issues with testing play controller that handles multipart form data. It expects text field and some files. The controller uses temporary files def insert(): Action[...
g-t's user avatar
  • 1,533
0 votes
0 answers
47 views

Storing secrets in Play Framework

I am currently migrating all my auth related microservices from Node.js to Scala 2.13 and Play. Where do you actually store your various password (like DB login, JWT secret, etc.) in your play ...
Cross Counter's user avatar
0 votes
0 answers
51 views

Play Framework 3.0.5 and jackson-databind version 2.17.0

I have a Play Framework 3.0.5 project on which I needed to update a module which has a requirement for jackson-databind version 2.17.0. Since get the following error, and don't seem to be able to find ...
Luuk D. Jansen's user avatar
0 votes
1 answer
56 views

Scala/Play cant find custom library

I am a Scala beginner, having some initial issues with classpaths which I think may stem from sbt. play.api.PlayException: Execution exception[[InjectionException: Injection error, interface my....
david sundström's user avatar
0 votes
1 answer
70 views

Sbt FlywayMigrate Command Hanging after Upgrading Flyway Sbt

After upgrading flyway-sbt from 7.4.0 to 9.22.0 the sbt flywayMigrate command now hangs, e.g. | => root / flywayMigrate {x}s . In our migration scripts, we are creating the indexes concurrently. ...
Orion's user avatar
  • 1
1 vote
0 answers
57 views

SAXParseException Being Thrown When Attempting to Upgrade From Scala 2.12.20 to 2.13.0

We're attempting to upgrade our Scala app from 2.12.20 to 2.13.0 but as soon as we do, we get the following error when trying to compile: [error] (update) org.xml.sax.SAXParseException; lineNumber: 1; ...
xeob321's user avatar
  • 11
0 votes
1 answer
36 views

GuiceApplicationBuilder and PlayTest tests erroring with play/Configuration not found on run path

We have our Playframework tests setup with fakeApplication using GuiceApplicationBuilder class BaseSpec extends AnyFunSpec/PlaySpec with GuiceOneAppPerSuite { override def fakeApplication(): ...
P-Man-Coding's user avatar
0 votes
1 answer
104 views

Swagger setup for Play3/scala2.13 project

I am trying to setup Swagger with Play. I have tried 2 options to configure. One is, https://github.com/play-swagger/play-swagger?tab=readme-ov-file#step-1, steps. After step-3 I am running into below ...
Janani's user avatar
  • 35
0 votes
0 answers
53 views

Firebase Push Notifications Failing on Dev Server: java.io.IOException Access Token Error in Java

I am encountering the following exception when sending push notifications (both token-based and topic-based) using Firebase in my Java Play Framework application on the development server: Caused by: ...
Anish's user avatar
  • 17
0 votes
0 answers
14 views

EBean in Play! Framework and many-to-many relationship on one class

I have a class StreamingProvider which can have child StreamingProviders. There are various combinations possible, so it is a n-n relationship: @Entity public class StreamingProvider extends ...
Luuk D. Jansen's user avatar
0 votes
1 answer
34 views

Firebase device token based push notifications not working in Java Play framework

I am using Java version 8, with Play framework version 2.2.6. My firbase-admin dependency version is 6.8.1. I tried initializing firebase in my code with the json file provided. Sharing the ...
Anish's user avatar
  • 17
0 votes
0 answers
91 views

Enable Zero-Code Instrumentation for gRPC Endpoint Metrics in a Play Framework App with OpenTelemetry

I have a Scala application built with the Play Framework that exposes a gRPC endpoint. Here's the current setup: The application is instrumented with opentelemetry-javaagent. The OpenTelemetry data ...
Ivan's user avatar
  • 106
0 votes
2 answers
100 views

How to suppress a deprecation warning from a Play Framework routes file

I have a Play Framework application where the routes file uses a deprecated controller method: GET /my-endpoint/this-is-deprecated com.example.app.controllers.MyController.getThisIsDeprecated ...
M. Justin's user avatar
  • 22k
0 votes
0 answers
55 views

play-pac4j SAML profile not in session after redirect

Very odd issue with IDP-initiated SAML auth. The user profile is somehow lost after a redirect. SAML assertion checks out. I extract the UserProfile and save it in the Play session and then do a ...
user28170315's user avatar

15 30 50 per page
1
2 3 4 5
1153