James
James

Reputation: 1237

org.springframework.beans.factory.BeanCreationException in SocialAuth (Spring)

I am trying to set up SocialAuth, defined by the website as:

"Java Library for registration and authentication through Google, Yahoo, Facebook, Twitter, LinkedIn, FourSquare, MySpace and other Open ID providers"

It is supposed to work like on http://opensource.brickred.com/socialauthdemo/

I have set up the workspace exactly as described on the page http://code.google.com/p/socialauth/wiki/SpringSample with a few differences (version etc). My library content is as below:

When I run Tomcat Server, I am getting org.springframework.beans.factory.BeanCreationException. Complete log here.

I'm a novice to Spring framework, and therefore a bit lost in the error message.
Any help is greatly appreciated.

TIA,
James


EDIT

The above problem is gone for now. However I'm getting a new one when I hit the url:
http://localhost:8080/springsocialauthdemo/socialAuth.do?id=facebook

Aug 26, 2011 10:20:25 AM org.springframework.web.servlet.DispatcherServlet noHandlerFound WARNING: No mapping found for HTTP request with URI [/springsocialauthdemo/socialAuth.do] in DispatcherServlet with name 'springsocialauthdemo'

Probably it's too lame a problem, but I just posted it while I'm working on it.
Thanks for help :)

Upvotes: 0

Views: 1110

Answers (1)

Bozho
Bozho

Reputation: 597402

Look at the bottom of the stacktrace - you are missing cglib on the classpath, and you need to for a scoped proxy of a concrete class - add it.

Upvotes: 2

Related Questions