playframework-2.3 Questions
5
Recently I began using Play framework 2.3.8.
However update of model is I am in trouble without work well.
By the way, save method works.
Update does not work with code like the following.
(It w...
Engird asked 7/3, 2015 at 14:29
8
Solved
I am attempting to migrate a Rails/Mongodb application to Play 2.3 using play-reactivemongo and reactivemongo-extensions. In modeling my data I am running across a problem serializing and deseriali...
Crosslink asked 4/12, 2014 at 3:30
8
Solved
Scala 2.11 is out and the 22 fields limit for case classes seems to be fixed (Scala Issue, Release Notes).
This has been an issue for me for a while because I use case classes to model database en...
Costar asked 9/5, 2014 at 18:31
2
I am trying to run a custom task before compilation of a Play 2.3 application. I have this in my build.sbt file:
lazy val helloTask = TaskKey[Unit]("hello", "hello")
helloTask := {
println("hell...
Alack asked 23/10, 2014 at 17:2
1
I'm doing some testing in Play right now that involves an HTTPS websocket client. It's going through Netty for HTTPS functionality, so I'm not using any built in HTTP classes (such as anything in t...
Featured asked 27/8, 2014 at 16:7
5
Solved
Edit: There is a related issue being discussed on Github but in another mode of deployment (Typesafe Activator UI and not Docker).
I was trying to simulate a system reboot in order to verify the D...
Compute asked 5/2, 2015 at 18:29
2
Solved
I'm using slick to access database. I want to query like this:
case class Coupon(couponId: Long, shopId: String)
class Coupons(tag: Tag) extends Table[Coupon](tag, "coupons"){
def couponId = co...
Marianomaribel asked 7/5, 2015 at 2:22
4
Solved
The answer to my problem is probably very simple and stupid but, can't find it by myself so far. Using Play Framework, emberjs and FluentLenium, I wrote a very simple functional test but can't make...
Quincyquindecagon asked 16/7, 2014 at 22:36
3
Solved
I have a application.dev.conf and application.test.conf under my conf folder in my Play 2.3 application but I do not want it to be packaged as part of my distribution? What is the right excludeFilt...
Strategy asked 23/6, 2014 at 22:29
2
I am trying to split format to multiple tuples so it can handle more than 22 fields in the case class. However, I got an error "value and is not a member of play.api.libs.json.Format". How can I me...
Autoerotic asked 30/9, 2015 at 5:10
3
I recently upgraded Play to version 2.3.5 and try to use it with ReactiveMongo. However everytime I try to read data from mongoDB an exception occurred. This is my build.sbt:
name := """ReactiveM...
Bluet asked 17/10, 2014 at 12:2
2
I'm getting the following stack trace first time i run
activator run
[warn] [NOT FOUND ] org.apache.commons#commons-compress;1.7!commons-compress.jar (1ms)
[warn] ==== activator-launcher-local: tr...
Runty asked 14/4, 2016 at 15:24
2
Solved
I'm using Play Framework 2.3.6. Since Play 2.3.x play commands are replaced with activator commands. Play's documentation for 2.3.x as well as latest 2.4.x mentions commands play-generate-secret an...
Undersea asked 27/11, 2014 at 12:56
2
Solved
I have a multi-project SBT/Play2 app, and I need to publish a Docker image for the main project (which aggregate the others).
The problem is that sbt-native-packager publish in my local repo an im...
Upthrow asked 9/3, 2015 at 18:12
2
I'm having a really hard time excluding logback from my play 2.3.8 test run. I've tried many exclude rules, but nothing seems to work. I also can't find it in my dependency tree. Snippet from my sb...
Know asked 9/4, 2015 at 9:20
3
Solved
I'm trying to add securesocial into my Play 2.3.x project. Here is what I have in my build.sbt file.
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += "ws.securesocial" %% "se...
Electrolyze asked 18/2, 2015 at 13:22
2
I am using HikariCp, Hibernate with my playframework application in java. After few mins of idle state, it seems play application dies, and when it gets new request it starts again. Sometime I have...
Wringer asked 11/6, 2015 at 10:0
1
After working most of the day I feel like I am fairly close to a solution on how to test a controller method which accepts file uploads from JUnit. My juint test code is as follows:
Map<String,...
Bentz asked 25/9, 2015 at 22:30
2
Solved
I have a Play Framework 2.3 app. I can drop into a Scala console with activator console. However, when I try to call into code from my app, specifically some helper function which uses WS, which us...
Pegram asked 25/3, 2015 at 7:28
2
I am new to Scala.
As mentioned in play framework official documentation in https://www.playframework.com/documentation/2.3.x/ScalaHttpFilters :
Play provides a lower level filter API called Ess...
Medication asked 14/3, 2015 at 9:44
3
There are many posts on this, the instructions are straight forward, but for the life of me I can't get the debugger to stop at breakpoints.
My environment is
eclipse 4.4.1
scala 2.11
scala IDE ...
Boelter asked 7/6, 2015 at 1:31
2
Solved
With Scala 2.11, we are allowed to have more then 22 fields in a case class right??
case class SomeResponse(
var compositeKey: String,
var id1: String,
var id2: String,
var firstName: String,
...
Fisher asked 27/1, 2015 at 10:16
4
By default your Play application will be fully started (compiled, Global's onStart called, etc.) only after you do http request to it.
Is there a way to disable this lazy load and make Play app co...
Gopher asked 13/11, 2014 at 21:15
6
Solved
I'm trying to use the automatic binding feature of Play, without success. I'm developing in Java, on Eclipse 4.4 Luna.
Here is my form :
<h2>Create a new user</h2>
<form action="@r...
Agrippina asked 18/8, 2014 at 14:26
1
I am trying to Create customize action for security. I am using Scala Oauth
for handling security in my application and trying to create custom action and wrap the Scala Oauth security in my custom...
Latrell asked 17/6, 2016 at 4:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.