score:0
there is a small exception in sbt run -dlogger.file->c:/playworkspaces/conf/dev-logback.xml
it should be =
.
as mario explained put the extra config files also in the conf directory (classpath).
with that try:
sbt run -dlogger.resource=dev-logback.xml -dconfig.resource=devapplication.conf
here additional info:
score:1
when using playkeys.devsettings
, do not write -d
prefix, for example, it should be
"config.file" -> "c:/playworkspaces/conf/devapplication.conf"
instead of
"-dconfig.file" -> "c:/playworkspaces/conf/devapplication.conf"
on a side note, i can see you placed dev config in the filesystem instead of the classpath. if dev config is not containing any secrets, my suggestion would be to put it on the classpath under app/conf/devapplication.conf
and provided it via config.resource
:
playkeys.devsettings := seq("config.resource" -> "devapplication.conf")
Source: stackoverflow.com
Related Query
- unable to override application.conf in play 2.6.6 scala
- Unable to play wav files from play scala application
- Scala Play 2.2 application crashes after deploying in Heroku: target/start No such file or directory
- Play Famework 2 - Scala - Start one application for test-suite
- Unable to run Scala application in IntelliJ
- Scala Play no application started when grabbing data sources from application.conf
- Scala Play application integration tests with guice context
- CORS Filter in Scala Play 2.2 application
- Convert existing SBT Scala application to Play
- Play Scala Application "not found: value action"
- How to do Integrated Windows Authentication (IWA) in a scala play web application
- How to start Scala Play application on Bluemix?
- Scala Play framework web application hosting Process
- Scala Type Erasure warning in Play Framework Application
- object play not found in scala application
- How can I connect a scala play application to postgres database
- Play Framework 2.3.x scala - Application shutdown without exception
- Getting “No unapply or unapplySeq function found” exception in Scala Play application
- Scala Play Framework application doesn't restart properly after changing sources
- Unable to understand placeholder _ behavior in scala function application
- Trying to create Unit tests for Slick database for Play web application in Scala
- Unable to determine how to override java base class from scala
- How to use secret key in Play Scala application
- jooq unable to generate classes in play - scala
- Unable to override implicits in scala
- Test cleanup hook not executed in scala play application
- Unable to deploy Scala web application
- Exception while getting string from conf file in Play 2 with Scala
- Unable to override java generic function with scala parameterized type
- Getting "No Json serializer found for type scala.concurrent.Future..." exception in Scala Play application
More Query from same tag
- Avoiding duplicate coulmns after nullSafeJoin scala spark
- Parse Json Sequence without keys in playframework
- Selection Sort - Functional Style with recursion
- How to create RDD partitions across columns in Apache Spark?
- Scala: batch process Map of index-based form fields
- How to determine the output type of a function (type)?
- Scala perf: Why is this Scala app 30x slower than the equivalent Java app?
- How to get the TypeTag for a class in Java
- Best practice to validate Akka Persistence commands
- Int and Char scala interpolation (generics and upper bounds)
- How to swap to elements in Seq
- How to provide schema in spark/scala from outside the code
- Scala: GraphX: error: class Array takes type parameters
- Printing data normally without Array of arrays in spark RDD
- Scala: split string via pattern matching
- How to avoid boxing bytes in array in custom datasource?
- Understanding Currying Implemention in Scala
- Scala classes with arbitrary type attribute
- Whats wrong with Scala encoding?
- What is exactly the point of auto-generating getters/setters for object fields in Scala?
- Path-dependency and inner classes
- sbt maven local resolver doesn't work when using Build.scala
- What is the fastest way to read an entire file into a String in Scala?
- Why does Scala language require you initialize a instance variable instead of relying on a default value?
- Spark-scala: Select distinct arrays from a column dataframe ignoring ordering
- How to map sequence only if a condition applies with scala using an immutable approach?
- How can I return two DStreams in a function after using the filter transformation in spark streaming?
- spark filter column from dataframe with words from a collection
- How do I embed the Scala 2.8 interpreter in a Java application?
- Scala: Method receive as parameter a List[T] and with pattern matching it proves if the received list is not a List[B]