我已经安装了最新的Grails PayPal-Plugin (0.6.4),并得到以下错误:
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,因为当我尝试登录时,我得到了以下错误:
| 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我怎么才能修复它?
发布于 2012-02-15 17:36:05
请注意,自0.6.4以来已经发布了两个版本,现在它的行为符合您对'notify()‘方法的要求(可能要归功于您的报告)。
http://grails.org/plugin/paypal/
(只是在这里说,让任何普通读者都知道)
https://stackoverflow.com/questions/9152973
复制相似问题