2012-02-05 3 views
0

Я установил новейшие Grails PayPal-Plugin (0.6.4) и получил следующее сообщение об ошибке:Grails 2.0 и плагин PayPal

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 

Как это исправить?

ответ

1

Обратите внимание, что с версии 0.6.4 выпущены две версии, и теперь она ведет себя так же, как вы просили относительно метода «notify()» (возможно, благодаря вашему отчету).

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

(просто говоря, это здесь для любого случайного читателя знать)

Смежные вопросы