Help! Someone teach me how to use securesocial 3.x with play framework 2.3.x?

219 views
Skip to first unread message

Atsushi Ogawa

unread,
May 20, 2015, 10:26:34 PM5/20/15
to secure...@googlegroups.com
Environment
----
- Play 2.3.8
- sbt 0.13.8
- java 1.8
- scala 2.11
- Mac OSX 10.9
- secure social (latest 'master snapshot')
----

I'm really need help. I'm trying to use the module for 4days. But there are nothing progress....

I'm new on scala, play and secure social.
I can't make sense how to use secure social and overview of the module.
For example,
- The role of Global.scala and what can i configure.
- The role of BasicProfile and must to use it or not.
- and more....

Someone teach me how to use it step by step or overview of module?

The list I wish to implement with secure social.
1. Email and password login.
2. Password reset.
3. Provisional registration. (Send email to register)
4. Define own model like MyBasicProfile

I'm not sure what I can't make sense and what should I do.
Please help me if you have time.
Thank you for your kindness.

Atsushi Ogawa

unread,
May 22, 2015, 7:32:03 AM5/22/15
to secure...@googlegroups.com

Hi folks.
I can get contact with Mr.Jorge.
And I got the link to handle with secure social 3.x with play framwork 2.3.x.

This is it.
http://www.filtercode.com/play/play-scala-securesocial

You should refer this site if you were in same situation as me.
----------------------------------------

 And I got the new problem with "signup" function.
We need add following configuration in "play.plugins", if you want to use "signup" function the link above mentioned.

1500:com.typesafe.plugins.CommonsMailerPlugin

After added it, type a few commands as following.

activator reload
activator run

Then access,

localhost:9000/signup

I got the error as following.

[error] application -

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

play
.api.PlayException: Cannot load plugin[Plugin [com.typesafe.plugins.CommonsMailerPlugin] cannot be instantiated.]
    at play
.api.WithDefaultPlugins$$anonfun$plugins$1$$anonfun$apply$9.apply(Application.scala:161) ~[play_2.11-2.3.8.jar:2.3.8]
    at play
.api.WithDefaultPlugins$$anonfun$plugins$1$$anonfun$apply$9.apply(Application.scala:130) ~[play_2.11-2.3.8.jar:2.3.8]
    at scala
.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[scala-library-2.11.1.jar:na]
    at scala
.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[scala-library-2.11.1.jar:na]
    at scala
.collection.immutable.List.foreach(List.scala:383) ~[scala-library-2.11.1.jar:na]
Caused by: java.lang.ClassNotFoundException: com.typesafe.plugins.CommonsMailerPlugin
    at java
.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[na:1.8.0_05]
    at java
.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0_05]
    at java
.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_05]
    at java
.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0_05]
    at java
.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_05]

I can understand what errors said. But I don't know how to solve it.
Please help me if you know the solution.

Thanks as always.
Atsushi.


2015年5月21日木曜日 11時26分34秒 UTC+9 Atsushi Ogawa:

Atsushi Ogawa

unread,
May 26, 2015, 6:45:59 PM5/26/15
to secure...@googlegroups.com
And I got the new problem with "signup" function.
 
I can't solve this yet...
Is this bug?
Someone have any idea?

2015年5月22日金曜日 20時32分03秒 UTC+9 Atsushi Ogawa:

Atsushi Ogawa

unread,
May 26, 2015, 7:46:21 PM5/26/15
to secure...@googlegroups.com
It works finally.

I have one typo.

1500:com.typesafe.plugins.CommonsMailerPlugin

This is wrong.

1500:com.typesafe.plugin.CommonsMailerPlugin

This is correct.

Ok. This is it.
Thank you.

2015年5月27日水曜日 7時45分59秒 UTC+9 Atsushi Ogawa:
Reply all
Reply to author
Forward
0 new messages