jaliss / securesocial

A module that provides OAuth, OAuth2 and OpenID authentication for Play Framework applications
http://www.securesocial.ws
Apache License 2.0
1.19k stars 510 forks source link

Can't run sample app on Master : None.get #507

Closed loicdescotte closed 9 years ago

loicdescotte commented 9 years ago

Hi,

I'm trying to run the scala sample from master with Play 2.3 :

sbt scalaDemo/run -Dplay.version=2.3.7

When I open http://localhost:9000 I have a "java.util.NoSuchElementException: None.get" error

Did I miss something?

Thanks

jaliss commented 9 years ago

@loicdescotte the securesocial.sbt file defines 3 projects:

1) core 2) scalaDemo 3) javaDemo

It's built that way so it's easier to change the module and test things in the sample apps if needed.

Don't run the scalaDemo sbt directly, instead try:

   sbt
   project scalaDemo
   run
loicdescotte commented 9 years ago

It's working! Thanks a lot :)