jaxb in a servlet typeNotPresentException
Posted on 2009-04-03
I'm using jaxb to generate xml content and it works fine until I try to access the classes from a servlet. Whenever I run the page it gets to this line:
requestor = JAXBContext.newInstance( "com.crmondemand.uamc.request" );
This is the error I get:
java.lang.TypeNotPresentException: Type javax.xml.bind.annotation.XmlAccessType not present
I've tried downloading various versions of jaxb and messing around with the classpath, but I have no idea what is really going on. Any help is appreciated.