Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

securesocial Mailer configuration #1

Open
sc6l6d3v opened this issue Sep 24, 2014 · 1 comment
Open

securesocial Mailer configuration #1

sc6l6d3v opened this issue Sep 24, 2014 · 1 comment

Comments

@sc6l6d3v
Copy link

Hi,
What is the flow to populate the users hashmap in SimpleUserService so that authentication will occur with the code for 11.1 as is from github?

Thanks,
Henry

@sc6l6d3v
Copy link
Author

Am receiving the following stack trace (out of box clone):

! @6jjca3fgl - Internal server error, for (POST) [/signup] ->

play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class securesocial.core.providers.utils.Mailer$]]
at play.api.Application$class.handleError(Application.scala:293) ~[play_2.10-2.2.1.jar:2.2.1]
at play.api.DefaultApplication.handleError(Application.scala:399) [play_2.10-2.2.1.jar:2.2.1]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:261) [play_2.10-2.2.1.jar:2.2.1]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:261) [play_2.10-2.2.1.jar:2.2.1]
at scala.Option.map(Option.scala:145) [scala-library.jar:na]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2.applyOrElse(PlayDefaultUpstreamHandler.scala:261) [play_2.10-2.2.1.jar:2.2.1]
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class securesocial.core.providers.utils.Mailer$
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:314) ~[play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[play_2.10-2.2.1.jar:2.2.1]
at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:108) ~[play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:107) ~[play_2.10-2.2.1.jar:2.2.1]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class securesocial.core.providers.utils.Mailer$
at securesocial.controllers.Registration$$anonfun$handleStartSignUp$1$$anonfun$apply$3.apply(Registration.scala:185) ~[securesocial_2.10-master-SNAPSHOT.jar:master-SNAPSHOT]
at securesocial.controllers.Registration$$anonfun$handleStartSignUp$1$$anonfun$apply$3.apply(Registration.scala:176) ~[securesocial_2.10-master-SNAPSHOT.jar:master-SNAPSHOT]
at play.api.data.Form.fold(Form.scala:135) ~[play_2.10-2.2.1.jar:2.2.1]
at securesocial.controllers.Registration$$anonfun$handleStartSignUp$1.apply(Registration.scala:172) ~[securesocial_2.10-master-SNAPSHOT.jar:master-SNAPSHOT]
at securesocial.controllers.Registration$$anonfun$handleStartSignUp$1.apply(Registration.scala:170) ~[securesocial_2.10-master-SNAPSHOT.jar:master-SNAPSHOT]
at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:221) ~[play_2.10-2.2.1.jar:2.2.1]

Is the smtp block required in the conf/securesocial.conf file:

smtp {
host=smtp.gmail.com
port=465
ssl=true
tls=true
from="[email protected]"
smtp.user=USER
smtp.password=PASSWORD
}

Thanks,
Henry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant