{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9679","repository_url":"https://api.github.com/repos/grails/grails-core","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9679/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9679/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9679/events","html_url":"https://github.com/grails/grails-core/issues/9679","id":133006417,"number":9679,"title":"Grails 3.1.0 not showing Bootstrap glyphicons","user":{"login":"GregorioBelinchonSaiz","id":12091035,"avatar_url":"https://avatars.githubusercontent.com/u/12091035?v=3","gravatar_id":"","url":"https://api.github.com/users/GregorioBelinchonSaiz","html_url":"https://github.com/GregorioBelinchonSaiz","followers_url":"https://api.github.com/users/GregorioBelinchonSaiz/followers","following_url":"https://api.github.com/users/GregorioBelinchonSaiz/following{/other_user}","gists_url":"https://api.github.com/users/GregorioBelinchonSaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/GregorioBelinchonSaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregorioBelinchonSaiz/subscriptions","organizations_url":"https://api.github.com/users/GregorioBelinchonSaiz/orgs","repos_url":"https://api.github.com/users/GregorioBelinchonSaiz/repos","events_url":"https://api.github.com/users/GregorioBelinchonSaiz/events{/privacy}","received_events_url":"https://api.github.com/users/GregorioBelinchonSaiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/grails/grails-core/milestones/162","html_url":"https://github.com/grails/grails-core/milestones/grails-3.1.4","labels_url":"https://api.github.com/repos/grails/grails-core/milestones/162/labels","id":1617824,"number":162,"title":"grails-3.1.4","description":"","creator":{"login":"graemerocher","id":66626,"avatar_url":"https://avatars.githubusercontent.com/u/66626?v=3","gravatar_id":"","url":"https://api.github.com/users/graemerocher","html_url":"https://github.com/graemerocher","followers_url":"https://api.github.com/users/graemerocher/followers","following_url":"https://api.github.com/users/graemerocher/following{/other_user}","gists_url":"https://api.github.com/users/graemerocher/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerocher/subscriptions","organizations_url":"https://api.github.com/users/graemerocher/orgs","repos_url":"https://api.github.com/users/graemerocher/repos","events_url":"https://api.github.com/users/graemerocher/events{/privacy}","received_events_url":"https://api.github.com/users/graemerocher/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":2,"state":"open","created_at":"2016-03-02T13:17:08Z","updated_at":"2016-03-14T08:46:01Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-11T15:37:51Z","updated_at":"2016-03-14T08:46:01Z","closed_at":"2016-03-14T08:46:01Z","body":"I am using bootstrap on a GRAILS 3.1.0 application with\r\n``````\r\ncompile 'org.webjars:bootstrap:3.3.6'\r\n``````\r\nIn the index.jsp I set\r\n``````\r\n<span class=\"glyphicon glyphicon-edit\" aria-hidden=\"true\"></span>\r\n``````\r\nIn application.js\r\n``````\r\n//= //require jquery-2.1.3.js\r\n//= require /webjars/bootstrap/3.3.6/js/bootstrap.min\r\n//= require_tree .\r\n//= require_self\r\n``````\r\nIn application.css\r\n``````\r\n*= require main\r\n*= require mobile\r\n*= require /webjars/bootstrap/3.3.6/css/bootstrap.min\r\n*= require_self\r\n``````\r\n\r\nWhen I run the app both dev and prod from grails ...\r\n``````\r\ngrails prod run-app\r\ngrails dev run-app\r\n``````\r\n... all work propertly, both bootstap components and glyphicons, but when I put the war on a Tomcat, the glyphicons are not shown, but the bootstrap components works propertly.\r\n\r\nI have seen some errors on traces with the form\r\n``````\r\nNo mapping found for HTTP request with URI [/testglyphs-0.1/fonts/glyphicons-halflings-regular.ttf] in DispatcherServlet with name 'grailsDispatcherServlet'\r\n``````\r\nThe files could be found on Tomcat in the folder\r\n\r\napache-tomcat-8.0.30\\webapps\\testglyphs-0.1\\assets\\webjars\\bootstrap\\3.3.6\\fonts\r\n\r\nThis happends in Grails 3.1.0 and 3.1.1.\r\nI deploy war file on Tomcat 8.0.30 64bits\r\nI attach an example project.\r\n[testglyphs.zip](https://github.com/grails/grails-core/files/126615/testglyphs.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/grails/grails-core/issues/comments/196207205","html_url":"https://github.com/grails/grails-core/issues/9679#issuecomment-196207205","issue_url":"https://api.github.com/repos/grails/grails-core/issues/9679","id":196207205,"user":{"login":"GregorioBelinchonSaiz","id":12091035,"avatar_url":"https://avatars.githubusercontent.com/u/12091035?v=3","gravatar_id":"","url":"https://api.github.com/users/GregorioBelinchonSaiz","html_url":"https://github.com/GregorioBelinchonSaiz","followers_url":"https://api.github.com/users/GregorioBelinchonSaiz/followers","following_url":"https://api.github.com/users/GregorioBelinchonSaiz/following{/other_user}","gists_url":"https://api.github.com/users/GregorioBelinchonSaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/GregorioBelinchonSaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregorioBelinchonSaiz/subscriptions","organizations_url":"https://api.github.com/users/GregorioBelinchonSaiz/orgs","repos_url":"https://api.github.com/users/GregorioBelinchonSaiz/repos","events_url":"https://api.github.com/users/GregorioBelinchonSaiz/events{/privacy}","received_events_url":"https://api.github.com/users/GregorioBelinchonSaiz/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T08:46:01Z","updated_at":"2016-03-14T08:46:01Z","body":"Hi Graeme,\r\nIt seems that this issue still occurs in grails-3.1.3\r\nUsing the same example testgplyphs, replacing in gradle.properties the grails version to 3.1.3, when I build  the project and put the war on tomcat 8.0.20,I can't see the glyphicon-edit icon, while it can be seen when running with \"bootRun\" from gradle.\r\n\r\nIs it needed to put the bootstrap icons library on any grails repository?\r\n\r\nThanks in advance.\r\n"}}