我正在使用渲染插件生成报告。但是,在模板文件中使用 bootstrap css 时会抛出错误:
org.xhtmlrenderer.render.AnonymousBlockBox cannot be cast to
org.xhtmlrenderer.newtable.TableCellBox
我该如何解决这个问题?
最佳答案
尝试消除“float: left;”在你的 css 类定义中,就像这个答案中提到的:https://code.google.com/p/flying-saucer/issues/detail?id=144
关于css - 如何在Grails渲染插件模板中使用bootstrap css,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30910250/