Results 1 to 4 of 4

Thread: STS 2.5.2 - Grails plugin issue (spring security)

  1. #1
    Join Date
    Jan 2011
    Posts
    5

    Default STS 2.5.2 - Grails plugin issue (spring security)

    Greetings,

    I don't know if there is a more proper avenue for this post though I thought I would throw it up to see if anybody else is having issues.

    I'm using the recently updated STS to install the sping security core plugin and I've been having nothing but trouble.
    It seems to be rather buggy. I tried to go solely through the IDE as going through the command line did not register the plugins in the "plugin" directory (though entries were made to application.properties and Config.groovy).
    I've tried going through the Grails Plugin Manger as well as running the command through the Grails command prompt. In either way It fails to register the dependencies. The first time it didn't include the plugin folder (~/.grails/<version>/projects/<project name>/plugins) and then after I deleted the project and started over, its not picking up the java classes (org.springframework.security.* etc).

    Anybody else having issues?

    (running STS 2.5.2 Grails 1.3.6 Groovy 1.7.6 on Ubuntu 10.04 JVM 1.6.0_22)

  2. #2
    Join Date
    May 2010
    Posts
    398

    Default

    You are not alone.

    See here https://issuetracker.springsource.com/browse/STS-1502

    This issue describes the exact problem that you are having. For some reason the classpath container isn't properly being updated after installing plugins like spring-core-security that pull in extra jar files.

    I just fixed this bug and the fix should become available in the next nightly build (tomorrow probably).

    A workaround for this issue takes two steps:
    1) in context menu find "Grails Tools >> Refresh Dependencies"
    2) Then force a rebuild of your project by doing Project >> Clean from the project menu.

    This should update the dependencies and make the errors go away.
    Kris De Volder -- SpringSource

  3. #3
    Join Date
    Jan 2011
    Posts
    5

    Default

    Thank you kindly, maybe next time I'll check out the issue tracker first.

  4. #4
    Join Date
    May 2010
    Posts
    398

    Default

    No problem, posting to forum is fine. It may not be obvious where to look for help sometimes.
    Kris De Volder -- SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •