I am writing a plugin for Jira which involves parsing of XML documents. I am using JAXB to do so (XML to pojos and vice versa) So have a class which generates XML from pojos
The com.sun.xml.bind
package is part of the JAXB RI (http://jaxb.dev.java.net/), so you probably have that on your classpath somewhere.
Java6 has it's own version of JAXB included, in the com.sun.xml.internal.bind
package, so you don't usually need the RI in Java6 .
The RI can made made to work with Java6 , but it's uphill battle, and usually ends up with this sort of problem.