I am using eclipse. I download Apache POI 3.12 Beta 1, add all jar files into java build path, but eclipse tells me that CTPageMar not found. Part of my code is shown below.
XWPFDocument doc = new XWPFDocument(); CTDocument1 doc1 = doc.get Document(); CTBody body = doc1.getBody(); CTSectPr sect = body.getSectPr(); CTPageMar mar = sect.getPgMar(); Only the last line contains error because CTPageMar not found.