Grails Spring Social Plugin Build Error -


i following error when trying compile grails app using spring social plugin:

| error fatal error during compilation org.apache.tools.ant.buildexception:  java.lang.noclassdeffounderror: org/springframework/social/apibinding 

this have added buildconfig.groovy plugins section:

compile ':spring-security-core:1.2.7.3' compile ":spring-security-facebook:0.14.5" compile ":spring-social-core:0.1.31" compile ":spring-social-facebook:0.1.32" 

i had same problem, , think i've solved switching "spring-security-facebook" , "spring-security-twitter" grails plugins, source current versions of spring social plugins directly springsource repos.

i'm using following grails 2.3.0 without errors:

custom repositories:

mavenrepo "http://repository.springsource.com/maven/bundles/release/" mavenrepo "http://repository.springsource.com/maven/bundles/external/" mavenrepo "http://maven.springframework.org/release/" 

plugins:

compile ":spring-security-core:1.2.7.3" compile ":spring-security-facebook:0.15" compile ":spring-security-twitter:0.5.4" 

as far can tell problem spring social core/facebook/twitter plugins grails years out of date (last updated in 2011) , incompatible recent versions of spring security and/or grails.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -