sarbogast / grails-bootstrap-file-upload

Grails Plugin to integrate Sebastian Tschan's Jquery File Upload
http://grails.org/plugin/bootstrap-file-upload
Apache License 2.0
33 stars 25 forks source link

Groovy unable to resolve class org.imgscalr.Scalr #22

Closed mapbpk closed 10 years ago

mapbpk commented 10 years ago

Hi,

I am using Grails version 2.3.3 with Groovy 2.1 and having built the upload controller as per the documentation I get an compilation error as groovy fails to resolve the Scarl class from the import line at teh beginning of the controller file:

import org.imgscalr.Scalr

Consequently all references to the object 'Image' in the controller are unresolved.

Any ideas?

-mike

mapbpk commented 10 years ago

I have now added this compile line into the dependency block of the buidconfig file:

compile 'org.imgscalr:imgscalr-lib:4.2'

The Scalr import line is not a problem any more but I still am getting the object Image unresolved.

Any thoughts?

-mike