grails amazon-s3
I just tried installing the amazon s3 plugin for grails in my grails 1.0.4 application
grails install-plugin amazon-s3
It goes pretty far, but fails to compile. Problem is that I had a version of jets3t-0.7.0.jar in my application, this was overriding the plugin jar.
[mkdir] Created dir: /Users/prhodes/.grails/1.0.4/plugins/amazon-s3
[get] Getting: http://plugins.grails.org/grails-amazon-s3/tags/RELEASE_0_1/grails-amazo...
[get] To: /Users/prhodes/.grails/1.0.4/plugins/amazon-s3/grails-amazon-s3-0.1.zip
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[copy] Copying 1 file to /Users/prhodes/Documents/workspace-grails/stitches-server/plugins
[mkdir] Created dir: /Users/prhodes/Documents/workspace-grails/stitches-server/plugins/amazon-s3-0.1
[unzip] Expanding: /Users/prhodes/Documents/workspace-grails/stitches-server/plugins/grails-amazon-s3-0.1.zip into /Users/prhodes/Documents/workspace-grails/stitches-server/plugins/amazon-s3-0.1
Compiling plugin amazon-s3-0.1 ... ...
[mkdir] Created dir: /Users/prhodes/.grails/1.0.4/projects/stitches-server/classes
[groovyc] Compiling 170 source files to /Users/prhodes/.grails/1.0.4/projects/stitches-server/classes
[javac] Compiling 169 source files to /Users/prhodes/.grails/1.0.4/projects/stitches-server/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compilation error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, /Users/prhodes/Documents/workspace-grails/stitches-server/plugins/amazon-s3-0.1/src/groovy/HandleS3Events.groovy: 13: Can't have an abstract method in a non-abstract class. The class 'HandleS3Events' must be declared abstract or the method 'void s3ServiceEventPerformed(org.jets3t.service.multithread.ListObjectsEvent)' must be implemented.
@ line 13, column 1.
class HandleS3Events implements S3ServiceEventListener {
^
/Users/prhodes/Documents/workspace-grails/stitches-server/plugins/amazon-s3-0.1/src/groovy/HandleS3Events.groovy: 13: Can't have an abstract method in a non-abstract class. The class 'HandleS3Events' must be declared abstract or the method 'void s3ServiceEventPerformed(org.jets3t.service.multithread.CopyObjectsEvent)' must be implemented.
@ line 13, column 1.
class HandleS3Events implements S3ServiceEventListener {
^

Comments
Post new comment