?
Solved

jaxb in a servlet typeNotPresentException

Posted on 2009-04-03
2
Medium Priority
?
600 Views
Last Modified: 2013-11-24
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.
0
Comment
Question by:Yittrium39
2 Comments
 
LVL 12

Accepted Solution

by:
basav_com earned 1500 total points
ID: 24065897
0
 

Author Closing Comment

by:Yittrium39
ID: 31566510
Thank you. It just came down to me having the wrong version of jaxb altogether. The version that comes with the jwsdp is outdated.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
A solution for Fortify Path Manipulation.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month16 days, 12 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question