Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
XML and Related Technologies
Getting JAXB to work in J2EE project
posted 10 years ago
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.
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.