Eric Jain
unread,Jan 24, 2012, 6:07:26 PM1/24/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-framework
I can `play run` from the command line, but in Eclipse I get this
after installing the SecureSocial module:
Listening for transport dt_socket at address: 8000
14:32:24,946 INFO ~ Starting C:\xyz
14:32:24,952 INFO ~ Module secure is available (C:\Program Files\Play
\modules\secure)
14:32:24,952 INFO ~ Module securesocial is available (C:\xyz\modules
\securesocial-0.2.3)
14:32:26,218 WARN ~ You're running Play! in DEV mode
14:32:26,334 INFO ~ Listening for HTTP on port 9000 (Waiting a first
request to start) ...
14:32:35,874 INFO ~ Registered Identity Provider: twitter
14:32:35,874 INFO ~ Registered Identity Provider: facebook
14:32:35,874 INFO ~ Registered Identity Provider: google
14:32:35,874 INFO ~ Registered Identity Provider: foursquare
14:32:35,875 INFO ~ Registered Identity Provider: myopenid
14:32:35,875 INFO ~ Registered Identity Provider: userpass
14:32:35,876 INFO ~ Using default user service
14:32:35,879 ERROR ~ Tried to register provider for type: twitter but
it is registered already. Providers: {twitter=twitter,
facebook=facebook, google=google, foursquare=foursquare,
myopenid=myopenid, userpass=userpass}
14:32:37,258 ERROR ~
@6972kkihb
Internal Server Error (500) for request GET /
Oops: RuntimeException
An unexpected error occured caused by exception RuntimeException:
There is already a provider registered for type: twitter
play.exceptions.UnexpectedException: Unexpected Error
at play.Play.start(Play.java:545)
at play.Play.detectChanges(Play.java:618)
at play.Invoker$Invocation.init(Invoker.java:198)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.RuntimeException: There is already a provider
registered for type: twitter
at
securesocial.provider.ProviderRegistry.register(ProviderRegistry.java:
46)
at
securesocial.plugin.SecureSocialPlugin.onApplicationStart(SecureSocialPlugin.java:
58)
at
play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:
480)
at play.Play.start(Play.java:515)
... 3 more
Steps to reproduce:
1. `play new xyz`
2. Append "- play -> securesocial 0.2.3" to dependencies.yaml
3. `play deps`
4. Fix path to jquery.js in modules/securesocial-0.2.3/app/views/.../
main.html
5. Insert "* / module:securesocial" in conf/routes above #Catch all
6. `play run`
7. `play eclipsify`
8. Import project into Eclipse
9. Run xyz.launch
10. Open localhost:9000/