Facebook Connect 插件和 Grails 问题
不确定如何开始解决此问题。我按照此页面上的确切说明进行操作 - http://www.grails.org/Facebook+Connect+插件 此页面上的说明正确吗?或者遗漏了什么? 这个插件是不是被其他东西抛弃了?不确定 Spring Social 在哪里适合这个,或者是否已经准备好生产。
错误 500:处理 GroovyPageView 时出错:执行标签时出错
更多信息: Groovy 版本:1.7.5 JVM:1.6.0_22
圣杯 1.3.7 其他人可以使用该插件复制此问题吗?和示例代码?
Not sure how to begin troubleshooting this issue. I followed the exact instructions on this page - http://www.grails.org/Facebook+Connect+Plugin
Are the instructions on this page correct? or missing something?
Is this plugin abandoned for something else? Not sure where Spring Social fits into this, or if that is even production-ready.
Error 500: Error processing GroovyPageView: Error executing tag <g:facebookConnectJavascript>: Error creating bean with name 'FacebookTagLib': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'facebookConnectService': Invocation of init method failed; nested exception is java.lang.ClassNotFoundException: FacebookConnectConfig at P:/testapp/grails-app/views/loginFacebook/auth.gsp:15
Servlet: grails
URI: /lmfirst/grails/loginFacebook/auth.dispatch
Exception Message: FacebookConnectConfig
Caused by: Error processing GroovyPageView: Error executing tag <g:facebookConnectJavascript>: Error creating bean with name 'FacebookTagLib': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'facebookConnectService': Invocation of init method failed; nested exception is java.lang.ClassNotFoundException: FacebookConnectConfig at P:/testapp/grails-app/views/loginFacebook/auth.gsp:15
Class: FacebookConnectService
At Line: [15]
Code Snippet:
MORE INFORMATION:
Groovy Version: 1.7.5 JVM: 1.6.0_22
Grails 1.3.7
Can anyone else replicate this issue with the plugin? and the example code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这似乎是插件中的一个错误。我现在面临同样的问题。这是一个临时解决方法:
转到 FacebookConnectService 并修改 afterPropertiesSet() 方法,如下所示:
This appears to be a bug in the plugin. I faced the same problem now. This is a temporary work around:
Go to FacebookConnectService and modify the afterPropertiesSet() method like this:
首先,
从错误输出来看,您似乎缺少标签末尾的反斜杠 / 。
从那里开始..并发布结果。
Firstly,
From the error output it seems you're missing the back slash / at the end of the tag.
Start there.. and post the results.