score:4
It looks like the problem is somehow with the version of plugin that is available in the typesafe repo:
I've built the plugin from sources, published it to my local repository and then everything compiled fine.
In the build.sbt
of the sample app there is:
resolvers += Resolver.file("LocalIvy", file(Path.userHome + File.separator + ".ivy2" + File.separator + "local"))(Resolver.ivyStylePatterns)
So it looks like the authors also had problems in compiling the app using the plugin deployed to the official repository.
UPDATE:
Well, it compiled fine, but then failed at runtime with java.lang.ClassNotFoundException: com.typesafe.plugin.CommonsMailerPlugin
UPDATE 2:
The sample play.plugins
is also wrong, the correct one should be:
1500:play.api.libs.mailer.CommonsMailerPlugin
and then eveyrthing finally works
score:1
The README is up to date with the latest development (upcoming version). As of 19/12/2014, the latest version released and available in the Typesafe repository is 2.3.1. If you want to use this version you need to refer to the README in the v2.3.1 tag: https://github.com/playframework/play-mailer/tree/v2.3.1
For the upcoming version we have decided to break compatibility to move the Play mailer into its own package and provide a better implementation. That's the reason why the documentation in the master branch is not working with version 2.3.1.
Source: stackoverflow.com
Related Query
- How to use IntelliJ with Play Framework and Scala
- How to use play-plugins-mailer with Play 2.3 and Scala 2.11?
- How to use cdn url with play framework and scala for image display?
- How do I get Intellij IDEA 12.0 to work with Play Framework 2.1.0 app and Scala 2.10.0?
- How programmatically limit download speed on server with Scala and Play
- How do I create horizontal or vertical struts and glue for use with scala BoxPanel?
- Value and column operations in scala spark, how to use a value left of an operator with spark column?
- How to create an instance of a model with the ebean framework and scala in Play 2.2
- How to properly use Scala Play Anorm and Option[String] to insert NULL SQL
- How to fetch records from the database using Play with Scala and Slick
- How do I use scala and scalatest to see if a list contains an object with a field matching a specific value
- How to map multiple Futures and pass them as arguments to a view using Play with Scala
- How to parse a string with filter criteria in scala and use it to filter objects
- How do I serialize CharSequence to JSON with Play 2.1 and Scala
- How do I abstract over effects and use ContextShift with Scala Cats?
- scala TreeMap - how to get indexOf and element to use with slice or view method
- How to send email with attached file in scala and play framework (2.3.9) using activator?
- What does $ mean in a Scala Play Template, and how to deal with Options
- How to use nullable columns with Anorm and Play Framework?
- How to use spark and mongo with play to calculate prediction?
- How to use getOrElse with Map and compare value in scala
- How to use Memcached with the Scala Play Framework 2.2?
- How can I use scala sources from a different location in a sbt project and also make it work with IntelliJ IDEA?
- How do I create a periodic Poller with Play 2.0 and Scala
- How to use the Akka sample cluster kubernetes with Scala and minikube?
- scala how to use pattern matching with inheriance and templated class
- Scala - Play - How to mock import play.api.libs.concurrent.CustomExecutionContext in Test and use it as an implicit param?
- How to log user credentials when authentication fails with Scala Play Framework and Silhouette
- How to log user credentials when authentication fails with Scala Play Framework and Silhouette
- How to use fcm(firebase cloud messaging) with scala play framework to send notification?
More Query from same tag
- Spark - Actor not found for: ActorSelection
- Piping Scala RDD to Python code fails
- What happens to unmatched messages with Akka?
- How to convert a comma delimited String into LinkedHashSet in Scala
- Scala polymorphism - covariant and type bound
- Accessing shared SqlContext in spark 2.1
- Get all possible combinations of 3 values from n possible elements
- Scala mix with instance
- Akka Streams: How do I model capacity/rate limiting within a system of 2 related streams?
- "Insecure HTTP request is unsupported" Error in Scala
- Using Gephi inside a Play Application
- How to perform basic statistics on a csv file to explore my numeric and non-numeric variables with Spark Scala?
- Implementing a recursive function using pattern matching
- How to chain operations in idiomatic scala
- Intellij 13 with sbt 13.1 unable to resolve global-plugins where no global plugins exist
- Match classes in Scala with Mockito
- Why does the following parameterized method not compile?
- Intersect Scala set with set of subtype
- Semantics of Scala Traversable, Iterable, Sequence, Stream and View?
- How to read grib file by netcdfAll
- Spark 1.3.0 build failure
- Trouble referencing packages in IntelliJ Scala
- how to hide the values of playframework session?
- scala List .toArray failing for no apparent reason
- Password and password hash in a model and in db table
- Scala/Mockito: How to mock the result of a method called inside another method?
- Scala: val foo = (arg: Type) => {...} vs. def(arg:Type) = {...}
- Prime factorization using recursion Scala
- Scala - Collection comparison - Why is Set(1) == ListSet(1)?
- Passing list to sc.textFile -scala-