Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved Image class in Groovy #24

Open
mapbpk opened this issue Apr 15, 2014 · 2 comments
Open

Unresolved Image class in Groovy #24

mapbpk opened this issue Apr 15, 2014 · 2 comments

Comments

@mapbpk
Copy link

mapbpk commented Apr 15, 2014

Hi,

I am running grails 2.3.3 & groovy 2.1 and have included these additional lines into the BuildConfig:

In dependencies:

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

And in plugins:

    //PLUGIN FOR MULTIPLE FILE UPLOAD....
    compile ":jquery-ui:1.10.3"
    compile ":twitter-bootstrap:3.1.1"
    compile ":bootstrap-file-upload:2.1.2"

Using the integration part of the installation instructions I have managed to get the file upload interface controls working on a web page with the "bsfu:fileUpload" command.

Then using the 'File Handling' I have cut and pasted the upload and other action/controller code into my controller.

I now have a problem as the controller is failing to compile with an error "Groovy: unable to resolve class Image" - 'Image' being the domain object used in the upload action provided in the configuration documentation.

What step have I missed out - is there another dependency or plugin I should include?

-mike

@mgkimsal
Copy link

Not the original author, and I know it's a year late... but you'll need to provide your own Image class to work with this (or adapt the sample code to do what you want)

@mapbpk
Copy link
Author

mapbpk commented Mar 25, 2015

Thanks for your reply - have made progress via another route.
On 23 Feb 2015 17:39, "Michael Kimsal" [email protected] wrote:

Not the original author, and I know it's a year late... but you'll need to
provide your own Image class to work with this (or adapt the sample code to
do what you want)


Reply to this email directly or view it on GitHub
#24 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants