snimavat / nimble

Nimble Security Grails Plugin
Other
15 stars 19 forks source link

Compilation issues as soon as nimble is injected into project #33

Closed hariths closed 11 years ago

hariths commented 11 years ago

Getting this error as soon as I put the compile directive in the plugins area. (Grails: 2.3.1)

/Users/<>/projects/remember/target/work/plugins/cache-1.1.1/src/java/grails/plugin/cache/web/GenericResponseWrapper.java:154: method does not override or implement a method from a supertype @Override ^ /Users/<>/projects/remember/target/work/plugins/cache-1.1.1/src/java/grails/plugin/cache/web/filter/PageFragmentCachingFilter.java:398: cannot find symbol symbol : method getContentType() location: interface javax.servlet.http.HttpServletResponse contentType = response.getContentType(); ^

snimavat commented 11 years ago

See my comments on http://jira.grails.org/browse/GPCACHE-33

As of now, nimble dependsOn shiro1.4, overriding to shiro1.2 in ur apps BuildConfig should fix as well probably. Soon i will release a new version of nimble which will depend on shiro 1.2 by default

hariths commented 11 years ago

Good. Got it to work with : compile (":nimble:latest.integration") { excludes "servlet-api" } as noted in that link. Excellent work!

snimavat commented 11 years ago

Great, if you like the plugin, vote for it on grails plugin central ;)

hariths commented 11 years ago

Did that, happy coding!

On Oct 27, 2013, at 2:47 AM, Sudhir Nimavat notifications@github.com wrote:

Great, if you like the plugin, vote for it on grails plugin central ;)

— Reply to this email directly or view it on GitHub.