Comments (7)
Can you try, if this happens when you only add play-easymail (http://joscha.github.com/play-easymail/) to your project as well? Just remove the play authenticate lines from the project definition and leave the play-easymail repos and add play-easymail to the dependencies
from play-authenticate.
I just created a new project, added play-easymail to Build.scala and I have a similar error. Please note that the two "play - database [default] connected at jdbc:h2:mem:play" messages are missing though.
Exception in thread "main" net.sf.ehcache.ObjectExistsException: Cache play already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:990)
at play.api.cache.EhCachePlugin.x$3(Cache.scala:111)
at play.api.cache.EhCachePlugin.cache(Cache.scala:109)
at play.api.cache.EhCachePlugin.onStart(Cache.scala:127)
at play.api.Play$$anonfun$start$1.apply(Play.scala:60)
at play.api.Play$$anonfun$start$1.apply(Play.scala:60)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at play.api.Play$.start(Play.scala:60)
at play.api.Play.start(Play.scala)
at jobs.QueueWorker.main(QueueWorker.java:13)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
from play-authenticate.
I can't find where the problem is - https://groups.google.com/forum/?fromgroups=#!topic/play-framework/JrzkjVAV2nU suggests it might be duplicate jar entries in the classpath... Could you check if this does happen, if you only add typesafe mailer plugin as well?
from play-authenticate.
Yes, I can confirm that with typesafe mailer plugin it's the same thing.
Exception in thread "main" net.sf.ehcache.ObjectExistsException: Cache play already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:990)
at play.api.cache.EhCachePlugin.x$3(Cache.scala:111)
at play.api.cache.EhCachePlugin.cache(Cache.scala:109)
at play.api.cache.EhCachePlugin.onStart(Cache.scala:127)
at play.api.Play$$anonfun$start$1.apply(Play.scala:60)
at play.api.Play$$anonfun$start$1.apply(Play.scala:60)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at play.api.Play$.start(Play.scala:60)
at play.api.Play.start(Play.scala)
at jobs.QueueWorker.main(QueueWorker.java:12)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
from play-authenticate.
Okay, so this is not a play-authenticate specific problem then - would you mind opening an issue here then: https://github.com/typesafehub/play-plugins/ ? You might want to reference this ticket, though.
from play-authenticate.
Referenced issue on play-plugins playframework/play-plugins#46
from play-authenticate.
Thank you!
from play-authenticate.
Related Issues (20)
- Play 2.6 support HOT 12
- Oauth2 Google Scope issue
- There is a problem with Login with LinkedIn
- UserServicePlugin registered multiple times during production HOT 3
- connection from mobile APP HOT 1
- "playeasymail" in from when receive mail HOT 1
- return Result in JSON from signup or login HOT 1
- Sign up does not send any email HOT 3
- How to sign up users on their behalf by another user HOT 1
- Conflicting cross'version
- Opposite of merging users?
- "Remember Me" functionality? HOT 13
- TOTP using Google Authenticator? HOT 2
- Redirect on other URL than index HOT 3
- Sample app not running HOT 1
- Basic provider route throws exception HOT 6
- Create SQL insert User (Admin ect)
- Change Password never persists because of lack of setters? HOT 1
- Play 2.7 support HOT 4
- Play 2.5 link is not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-authenticate.