Crowd Plugin

Compilation error in Crowd plugin - version 0.3: "static not allowed here"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: Grails-Crowd 0.3
  • Fix Version/s: Grails-Crowd 0.4
  • Component/s: None
  • Labels:
    None

Description

version 0.3 of the Crowd plugin does not compile:

generated-java-source/org/codehaus/grails/plugins/crowd/util/CrowdAuthUtils.java:11: modifier static not allowed here
public static class CrowdAuthUtils
              ^
generated-java-source/org/codehaus/grails/plugins/crowd/util/CrowdUtils.java:11: modifier static not allowed here
public static class CrowdUtils
              ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
Compilation error: Compile failed; see the compiler error output for details.

Removing the static keywords from these two classes fixes the problem.

Activity

Hide
Graham Bakay added a comment -

I'll take a look at it. I haven't looked at it since the Codegeist deadline (some forced time away from it) but I'll look at it this week.

Show
Graham Bakay added a comment - I'll take a look at it. I haven't looked at it since the Codegeist deadline (some forced time away from it) but I'll look at it this week.
Hide
Nick Pellow added a comment -

Thanks Graham.

Excellent plugin by the way.

Show
Nick Pellow added a comment - Thanks Graham. Excellent plugin by the way.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: