RaresI
RaresI

Reputation: 461

Twitter Bootstrap plugin in Grails has errors

I'm building my first Grails Application and I followed the tutorial on how to install the twitter-bootstrap-grails-plugin; (https://github.com/groovydev/twitter-bootstrap-grails-plugin/blob/master/README.md)

I followed the instructions there until I reached the Less plugin installation. For starts I just want to use the default distribution of Bootstrap UI.

The problem I encounter is that whenever a page is loaded I get this error in the server:

2014-02-24 17:56:48,556 [http-bio-8080-exec-7] ERROR resource.ResourceMeta - Resource not found: /bootstrap.css.map

Even though the first page I've tried it on seems to work, I wonder what's the .map file? Is it so important? And why it doens't work since it is there in the plugin distribution..

thanks in advance!

Upvotes: 0

Views: 896

Answers (1)

Dennis
Dennis

Reputation: 696

Newer versions of the twitter-bootstrap plugin are configured for the grails resource managment plugin asset-pipeline which has a distinct way of minifying and packaging .css files.

If you still prefer to manage resources with the resources plugin you can avoid this error by adding

    grails.plugins.twitterbootstrap.defaultBundle = false

to your Config.goovy.

Upvotes: 1

Related Questions