appcela / grails3-cors-interceptor

Add Cross-Origin Resource Sharing (CORS) headers for Grails 3 applications.
MIT License
10 stars 2 forks source link

Compatibility problem w/Grails 3.0.15 #2

Closed sbortman closed 8 years ago

sbortman commented 8 years ago

When upgrading from Grails 3.0.14 to 3.0.15, encountered a stacktrace and prevented the application from starting:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'grailsApplication' threw exception; nested exception is java.lang.AbstractMethodError: grails3.cors.interceptor.CorsInterceptor.setGrailsApplication(Lgrails/core/GrailsApplication;)V

Downloading the source for 0.12 and running as inline plugin seems to work. Graeme and Jeff Scott Brown suggested that the plugin needs to be compiled w/a newer version grails due to a binary compatibility issue.

ichangxappcela commented 8 years ago

Yeah, 3.1.2 also came out. I'll take a look at both versions over the weekend.

ichangxappcela commented 8 years ago

@sbortman , just released v0.1.3 (recompiled with Grails 3.0.15). Please give it a try and let me know how it works.

sbortman commented 8 years ago

Hello,

Thanks again for taking a look at it. Still having issues. I looked at your changes and I wonder if you need to bump up the grails version in gradle.properties and commit that as well?

Take care, --scottie

ichangxappcela commented 8 years ago

@sbortman , yup, that was it!

New version 0.1.4 released.

Enjoy!

-- Ivan

sbortman commented 8 years ago

I think we have a winner! Thanks again.

On Sun, Mar 6, 2016 at 9:48 PM, appcela notifications@github.com wrote:

@sbortman https://github.com/sbortman , yup, that was it!

New version 0.1.4 released.

Enjoy!

-- Ivan

— Reply to this email directly or view it on GitHub https://github.com/appcela/grails3-cors-interceptor/issues/2#issuecomment-193066071 .