繁体   English   中英

使用Netbeans IDE将Spring Security集成到Grails中

[英]Integrating Spring Security into Grails Using Netbeans IDE

我正在尝试使用NetBeans IDESpring security集成到Grails Web应用程序中。

步骤为:

  1. repository添加了mavenRepo "http://repo.spring.io/milestone"
  2. compile ":spring-security-core:2.0-RC2"plugins

当我在cmd提示符下尝试grails s2-quickstart com.zot.auth User Role ,出现以下错误。 谁能帮忙。 还想知道是否可以像在不使用命令行的情况下创建pojos一样直接在NetBeans中创建spring安全文件。

| Error Error generating web.xml file (Use --stacktrace to see the full trace)

我遇到了同样的问题,并使用以下步骤解决了问题:

grails clean
grails refresh-dependencies

如果仍然无法使用,请删除target文件夹。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM