Happy new year all!
I’m working my way through “Grails: A Quick-Start Guide” and have run into a problem. After completing section 11.2, “The Twitter Plug-in”, I get a compilation error dealing with the Twitter and JSON additions. Here is the console output:
Welcome to Grails 1.1.1 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /Users/TBaggett/springsource/grails-1.1.1/ Base Directory: /Users/TBaggett/Workspaces/Grails/TekDays Running script /Users/TBaggett/springsource/grails-1.1.1/scripts/RunApp.groovy Environment set to development [copy] Copied 6 empty directories to 3 empty directories under /Users/TBaggett/.grails/1.1.1/projects/TekDays/resources [groovyc] Compiling 6 source files to /Users/TBaggett/.grails/1.1.1/projects/TekDays/classes [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Compile error during compilation with javac. [groovyc] /Users/TBaggett/.grails/1.1.1/projects/TekDays/plugins/twitter-0.2/src/java/winterwell/jtwitter/Twitter.java:30: cannot access org.json.JSONArray [groovyc] bad class file: /Users/TBaggett/.grails/1.1.1/projects/TekDays/plugins/twitter-0.2/lib/json-112808.jar(org/json/JSONArray.class) [groovyc] class file has wrong version 50.0, should be 49.0 [groovyc] Please remove or make sure it appears in the correct subdirectory of the classpath. [groovyc] import org.json.JSONArray;
Any thoughts on what I need to do to fix this?
Thanks in advance,