First, I ran into some dependency conflicts and had to add some new lines to grails-app/conf/BuildConfig.groovy:
+ runtime ('edu.ucar:netcdf:4.2-min') {In particular, lots of trouble with "commons-logging" and "slf4j".
+ excludes 'slf4j-api', 'slf4j-simple'
+ }
+
+ runtime ('org.apache.tika:tika-parsers:0.10') {
+ excludes "commons-logging", "commons-codec"
+ }
+
+ runtime ('org.xhtmlrenderer:core-renderer:R8') {
+ excludes "itext", "commons-logging", "commons-codec"
+ }
Secondly, I'm using java7 (1.7.0_b147) and was getting the error "javac: target release 1.6 conflicts with default source release 1.7" so I add to throw:
into grails-app/conf/BuildConfig.groovy as well.
grails.project.source.level = 1.6
Finally and most perplexingly, I got everything running, but when I went to browse the application I just got an empty blank page, no error messages, nothing, just a blank page. Uggh. Turns out you must run:
grails install-templatesif you've installed the templates previously. It's documented in the upgrade notes - would have been a nice thing to throw up a warning about too.
No comments:
Post a Comment