首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Grails 2.0和PayPal插件

Grails 2.0和PayPal插件
EN

Stack Overflow用户
提问于 2012-02-06 04:59:39
回答 1查看 706关注 0票数 0

我已经安装了最新的Grails PayPal-Plugin (0.6.4),并得到以下错误:

代码语言:javascript
复制
Problems occurred (un)installing plugins. See details for more information
------System.out:-----------
| Loading Grails 2.0.0
| Configuring classpath.
| Environment set to development.....
| Compiling 97 source files
| Compiling 97 source files.
| Error Compilation error: startup failed:
C:\Users\username\.grails\2.0.0\projects\projectname\plugins\paypal-0.6.4\grails-app\controllers\org\grails\paypal\PaypalController.groovy: -1: The return type of java.lang.Object notify() in org.grails.paypal.PaypalController is incompatible with void notify() in java.lang.Object
. At [-1:-1]  @ line -1, column -1.
1 error
------System.err:-----------

我通过将notify()重命名为notifyPaypal() => Error PayPal plugin on grails 2.0.0.RC3修复了这个问题

但是这个插件似乎干扰了springSecurity,因为当我尝试登录时,我得到了以下错误:

代码语言:javascript
复制
| Error 2012-02-05 21:42:07,245 ["http-bio-8080"-exec-8] ERROR [/projectname].[default]  - Servlet.service() for servlet [default] in context with path [/projectname] threw exception
Message: The specified user domain class 'Person' is not a domain class

我怎么才能修复它?

EN

回答 1

Stack Overflow用户

发布于 2012-02-15 17:36:05

请注意,自0.6.4以来已经发布了两个版本,现在它的行为符合您对'notify()‘方法的要求(可能要归功于您的报告)。

http://grails.org/plugin/paypal/

(只是在这里说,让任何普通读者都知道)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9152973

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档