$ 0 0 XWPF is for docx instead of doc. To read doc, you have to use code in ScratchPad. The namespace is called HWPF. But HWPF is not included in official release because it's not stable yet.