-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Welcome to the grails-imagetools wiki! The latest documentation is always found at the Grails site: http://www.grails.org/ImageTools+plugin
In case you’re having issues resolving the ImageTool class:
Error you’ll see:
Exception Message: startup failed: com.mashon.thumbnail.generator.ImageController: 31: unable to resolve class ImageTool @ line 31, column 20. def imageTool = new ImageTool(); ^ 1 error
Caused by: startup failed: com.mashon.thumbnail.generator.ImageController: 31: unable to resolve class ImageTool @ line 31, column 20. def imageTool = new ImageTool(); ^ 1 error
Class: com.mashon.thumbnail.generator.ImageController
At Line: 31
Code Snippet:
30:
31: def imageTool = new ImageTool();
32: imageTool.load(output.toByteArray());
Resolution:
So, to solve this I had to run a git clone on this source tree and then follow the instruction at the link below to create my own version of this plugin with correct package.
http://grails.org/doc/latest/guide/12.%20Plug-ins.html