Я набрал следующие команды, чтобы добавить Spring security plugin
.Сценарий «S2Quickstart» не найден При добавлении плагина Spring security
$ grails install-plugin spring-security-core
$ grails s2-quickstart org.example.auth Person Authority
Когда я тип вышеуказанной команды все, что я получаю:
| Script 'S2Quickstart' not found, did you mean:
1) Stats
2) DbmListLocks
3) InstallJQuery
4) TestApp
5) DbmClearChecksums
> Please make a selection or enter Q to quit: q
Как я могу решить эту проблему?
UPDATE
| Configuring classpath
| Error Resolve error obtaining dependencies: The following artifacts could not be resolved: org.springframework.security:spring-security-core:jar:3.2.0.RC1, org.springframework.security:spring-security-web:jar:3.2.0.RC1: Could not find artifact org.springframework.security:spring-security-core:jar:3.2.0.RC1 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: The following artifacts could not be resolved: org.springframework.security:spring-security-core:jar:3.2.0.RC1, org.springframework.security:spring-security-web:jar:3.2.0.RC1: Could not find artifact org.springframework.security:spring-security-core:jar:3.2.0.RC1 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: The following artifacts could not be resolved: org.springframework.security:spring-security-core:jar:3.2.0.RC1, org.springframework.security:spring-security-web:jar:3.2.0.RC1: Could not find artifact org.springframework.security:spring-security-core:jar:3.2.0.RC1 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error The following artifacts could not be resolved: org.springframework.security:spring-security-core:jar:3.2.0.RC1, org.springframework.security:spring-security-web:jar:3.2.0.RC1: Could not find artifact org.springframework.security:spring-security-core:jar:3.2.0.RC1 in grailsCentral (http://repo.grails.org/grails/plugins)
| Run 'grails dependency-report' for further information.
У меня такая же проблема с Грааль 2.3.6 после выполнения точных шагов в официальной документации (которая соответствует тому, что говорит Hussian). Решение не найдено. –
Предполагая, что s2-quickstart не работает в 2.3.6, как можно создать его вручную? Может ли кто-нибудь перечислить файлы, которые он генерирует/изменяет? –