[英]Integrating Spring Security into Grails Using Netbeans IDE
Am trying to integrate Spring security
into a Grails Web application using NetBeans IDE
. 我正在尝试使用
NetBeans IDE
将Spring security
集成到Grails Web应用程序中。
Steps were: 步骤为:
mavenRepo "http://repo.spring.io/milestone"
to repository
repository
添加了mavenRepo "http://repo.spring.io/milestone"
compile ":spring-security-core:2.0-RC2"
to plugins
. compile ":spring-security-core:2.0-RC2"
为plugins
。 When I try grails s2-quickstart com.zot.auth User Role
in cmd prompt I get below error. 当我在cmd提示符下尝试
grails s2-quickstart com.zot.auth User Role
,出现以下错误。 Can anyone help. 谁能帮忙。 Also would like to know if we can create the spring security files directly in NetBeans like we create the pojos I mean without using a commandline.
还想知道是否可以像在不使用命令行的情况下创建pojos一样直接在NetBeans中创建spring安全文件。
| Error Error generating web.xml file (Use --stacktrace to see the full trace)
I faced same problem and resolved using following steps: 我遇到了同样的问题,并使用以下步骤解决了问题:
grails clean
grails refresh-dependencies
If still not work then remove target
folder. 如果仍然无法使用,请删除
target
文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.