This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You haven't actually asked a question, but I'll assume you are looking for help in why your code is erroring out. Unless I'm missing something, the XML and Related Technologies forum seems like a better place for this thread, so I'll see if I can have it moved there.