Getting this “org.xhtmlrenderer.render.BlockBox cannot be cast to org.xhtmlrenderer.newtable.TableBox” while trying to render a pdf
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting this error while I am trying to render a pdf. I am using Nicolas Leroux's PDF module for the play framework. This is the entire stackstrace: Pastebin . Googling only reveals 4 results. They suggest removing any float properties, and position attributes, which I have removed, jsut to give it a try. I am still facing this problem. Has anyone been able to solve the issue? EDIT: This is the html that renders the pdf: #{extends 'main.html' /} #{set title:'Salary Details' /} <html> <head> <title>Employee Name</title> <style> body {