Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
XML and Related Technologies
Getting JAXB to work in J2EE project
Joined: Aug 29, 2005
Oct 03, 2005 16:06:00
I managed to get JAXB to work as regular
application. However, I can't get it to work in my
I'm currently getting the following exception:-
By reading this site,
, it seems like it is loading older Xerces.class, and omitting the newer class in jaxb jars sitting in my /WEB-INF/lib.
To get my java app to work, I have to invoke the java launcher with -Djava.endorsed.dirs= option, so that it picks up the new class.
But, how do I solve the class loader issue with a J2EE project?
I know I could solve this problem by switching to jdk 1.5, but my project is deployed in WAS 6 which uses jdk 1.4.
Any tips would be grateful here.
I agree. Here's the link:
subject: Getting JAXB to work in J2EE project
catching null in a StringTokenizer
Java in 64 bit Linux
how to set JFrame titlebar color
Touch Screen Action Event Listener GUI program coding
I cannot delete a file.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015