简体   繁体   中英

Integrating Spring Security into Grails Using Netbeans IDE

Am trying to integrate Spring security into a Grails Web application using NetBeans IDE .

Steps were:

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

When I try grails s2-quickstart com.zot.auth User Role in cmd prompt I get below error. 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.

| 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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