hi all,
Currently i m working with docx4j with jboss eap 6.4 framework
below i found there is unable to read image
org.docx4j.org.xhtmlrenderer.exception WARNING:: Can't read image file; unexpected problem for URI 'file:////home/standalone1/standalone/deployments/sccb2.war/WEB-INF/reports/images/risk_assessments.jpg'
from my source code :
public String getImgHtml(String imgWithPath) {
logger.info("getImgHtml= " + "<img src=" + "file:///" + imgWithPath + "></img>" );
return "<img src=\"file:///" + imgWithPath + "\" ></img>";
I have set all the permission and the file naming is correctly place at here.
Thank for advices.